Installation and Startup
Rev 2 Mar.18
35
41110485
Table 2-6: FX30S AT Commands
Command
Description
GPIO AT Commands
AT!FWD?GPIO
Reads the current value of any input
or output GPIO.
To Query:
AT!FWD?GPIO,<GPIO #>
where <GPIO #> is any available GPIO, i.e.: 2,7,8,13,21–25,32–66
Note: GPIO59 and 63 are unavailable for Read and Write via AT commands.
Returned values are:
•
0 (low) or 1 (high)
•
ERROR if invalid GPIO#
Example:
AT!FWD?GPIO,2
1
OK
AT!FWD?GPIO,10
ERROR
AT!FWD=GPIO
Sets the value of any configured
output GPIO.
To set:
AT!FWD=GPIO,<GPIO #>,<value>
where:
•
<GPIO #> is any GPIO set as an output. i.e.: 32, 43–66
8,13,25,33,42 only valid if set as output
•
<value> is either 0 (low) or 1 (high)
Returned values are:
•
OK (if GPIO is set as requested)
•
ERROR (if invalid GPIO # or value)
Example:
AT!FWD=GPIO,43,1
OK
AT!FWD=GPIO,2,1
ERROR