User`s guide

511
The syntax of the command is as follows:
Usage:
gpio [inout ON|OFF|input|output]
With no parameters, the command will display the current status of the ports. For example:
gpio
Input(s):
in : OFF
Output(s):
inout : OFF
OK
To set the I/O port to be an output:
gpio inout output
Input(s):
in : OFF
Output(s):
inout : OFF
OK
To set the I/O port to ON when it is configured as an output:
gpio inout on
Input(s):
in : OFF
Output(s):
inout : ON
OK
The Input and Input/Output connections (pins 2 and 3) are programmed via the command
line using the gpio command. The default setting for pins 2 and 3 are OFF as seen in the
above example.
Note:
Only one of the power connectors should be used. Never apply power to both the MAIN and
AUX connectors at the same time.
Pin
Description
Pin 1 GROUND
Pin 2 INPUT
Pin 3 Input/ Output
Pin 4 Power