EasyManua.ls Logo

Teleorigin RB800 - Page 34

Teleorigin RB800
51 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
#GPIO - General Purpose Input/Output Pin Control
...
#GPIO: <dir>,<stat>,<pull>
where
<dir> - as seen before
<stat> - as seen before
<pull> - as seen before
Example 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

Related product manuals