User Manual
#GPIO: 2,0
OK
In this case, the GPIO6 pin was set in "alternate function" direction and therefore works as
alarm output. The reported status = LOW has no meaning.
To set the pin status (when pin is set as OUTPUT):
send command AT#GPIO=<pin>,<value>,1<cr>
where:
<pin> is the GPIO pin number at which the command applies:
1 - GPIO1 6 - GPIO6
2 - GPIO2 7 - GPIO7
3 - GPIO3 8 - GPIO8
4 - GPIO4 9 - GPIO9
5 - GPIO5 10 - GPIO10
<value> is the pin value to be set and can be:
0 - LOW
1 - HIGH
wait for response OK
For example:
1- Let us assume you want to set the GPIO3 pin HIGH:
command
AT#GPIO=3,1,1<cr>
response:
OK
In this case, the GPIO3 pin was set in output direction and its status has been set to HIGH.
When you set the GPIO5 pin as RFTXMON output function, the pin reports the Transmitter
active status. To set the pin in alternate function you must specify also a dummy value for the
pin state:
Send command AT#GPIO=5,<dummy_value>,2<cr>
where:
<value> is a dummy value can be either: