
Most of the I/O pins of the Avisaro Module can be used as a "General Purpose Input or Output" (GPIO), as analogue input ports and as "Pulse Wide Modulation" ports. See pin layout for possible pin assignments.
All pins are input ports by default (after power up). Than, the last port direction command is the one which counts. Example: CAN port two was activated and later pin 3 is declared as an output port - this ends up in port 3 being an output port and the CAN bus is not functional.
See the electrical section (
here) in the Module Manual for details on max current, etc .. for the port pins.
The I/O ports can be set and read by using the "port" command. See the I/O section (
here) in the Command Interface Manual for more details.
The I/O ports can be set and read by using the "put" and "get" command. See the I/O section (
here) in the Basic Scripting Manual for more details.