EasyManua.ls Logo

Digi TransPort WR31 - Gpio Command: General Purpose Input Output (GPIO)

Digi TransPort WR31
866 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Use the command-line interface Using the CLI parameter tables in this guide
Digi TransPort WR Routers User Guide 139
gpio command: General Purpose Input Output (GPIO)
GPIO commands are necessary to configure a WR44, which has one Digital Input/Output port and
one Digital Input port. The gpio command configures an I/O port either as an input port or an
output port. For example:
The syntax of the command is as follows:
gpio [inout ON|OFF|input|output]
Display current status of ports
With no parameters, the gpio command displays the current status of the ports. For example:
gpio
Input(s):
in : OFF
Output(s):
inout : OFF
OK
Set the I/O port as an output
To set the I/O port to be an output:
gpio inout output
Input(s):
in : OFF
Output(s):
inout : OFF
OK
Command Description
gpio inout input Configures the I/O port as an input.
gpio inout output Configures the I/O port as an output.
gpio inout on Sets the I/O port to on when configured as an output.
gpio inout off Sets the I/O port to off when configured as an output.

Table of Contents

Other manuals for Digi TransPort WR31

Related product manuals