Rainbow Electronics GM862-QUAD-PY User Manual
Page 259

AT Commands Reference Guide
80000ST10025a Rev. 5 - 09/07/08
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved
page 259 of 434
#GPIO - General Purpose Input/Output Pin Control
SELINT 0 / 1
Example
AT#GPIO=3,0,1
OK
AT#GPIO=3,2
#GPIO: 1,0
OK
AT#GPIO=4,1,1
OK
AT#GPIO=5,0,0
OK
AT#GPIO=6,2
#GPIO: 0,1
OK
#GPIO - General Purpose Input/Output Pin Control
SELINT 2
AT#GPIO=[
Execution command sets the value of the general purpose output pin
GPIO
Not all configuration for the three parameters are valid.
Parameters:
depends on the hardware.
0 - no meaning if
- output pin cleared to 0 (Low) if
- no meaning if
1 - no meaning if
- output pin set to 1 (High) if
- no meaning if
2 - Reports the read value from the input pin if
- Reports the read value from the input pin if
- Reports a no meaning value if
0 - pin direction is INPUT
1 - pin direction is OUTPUT
2 - pin direction is ALTERNATE FUNCTION (see Note).
Note: when
direction and value of pin GPIO
#GPIO:
•
logic value read from pin GPIO
to input;
•
logic value present in output of the pin GPIO