7.7.6.1. Example: Read the values of remote GPIOs
Read the value of the GPIOs with GPIO_ID
0x01
and
0x02
of the connected remote device:
Start signal
Command
Length
Block
1
CS
0x02
0x2A
0x03 0x00
0x02
0x01 0x02
0x2A
Response:
Start signal
Command | 0x40
Length
Status
Block
1
Block
2
CS
0x02
0x6A
0x07 0x00
0x00
0x02
0x01
0x00
0x02
0x02
0x01
0x6D
Successfully read the values of the remote GPIOs with GPIO_ID
0x01
(GPIO is low) and
0x02
(GPIO is high).
Proteus-III reference manual version 1.3
© August 2020
www.we-online.com/wireless-connectivity
105