Teleorigin RB800 User Manual page 34

Table of Contents

Advertisement

#GPIO - General Purpose Input/Output Pin Control
Example
...
#GPIO: <dir>,<stat>,<pull>
where
<dir> - as seen before
<stat> - as seen before
<pull> - as seen before
Read all inputs state:
AT#GPIO?
#GPIO: 0,1,1
#GPIO: 0,1,1
#GPIO: 0,1,1
#GPIO: 0,1,1
#GPIO: 0,1,1
#GPIO: 0,1,1
#GPIO: 0,1,1
OK
Set GPIO1 as input with pull-up resistor
AT#GPIO=1,0,0,2
OK
Read GPIO input state
AT#GPIO=1,2
#GPIO: 0,1,2
OK
Set GPIO1 as output with high state and no pull resistor
AT#GPIO=1,1,1,0
OK
34

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rb900Rb800u

Table of Contents