User Manual
1 - GPIO1 6 - GPIO6
2 - GPIO2 7 - GPIO7
3 - GPIO3 8 - GPIO8
4 - GPIO4 9 - GPIO9
5 - GPIO5 10 - GPIO10
<value> is the GPIO pin value that the pin will assume:
0 - LOW
1 - HIGH
wait for response OK
The #GPIO setting is not saved and will be lost on power off, so at start-up repeat pin
initialization commands. At start-up the setting for GPIO6 instead is maintained even after a
shutdown to permit alarm feature to work always.
For example:
1- Let us assume you want to set GPIO3 pin as Output and you want it to be in LOW status:
command
AT#GPIO=3,0,1<cr>
response:
OK
In this case, the GPIO3 pin was successfully put in output direction and its status has been set
to LOW.
When you set a GPIO as input, you must specify also a dummy value for the pin state:
send command AT#GPIO=<pin>,<dummy_value>,0<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 a dummy value can be either:
0 - dummy value