
Appendix E: System Integration
Query Command |
|
(GIO?) | Request the state and configuration of all pins |
(GIO! “HHLLHLH” “OOIOOOI”) | Reply of pin state and configuration |
(GIO? C2) | Request configuration for pin #2 |
(GIO! C2 O) | Reply with pin #2 configuration as output |
(GIO? 2) | Request the state of pin #2 |
(GIO! H) | Reply with pin #2 state as high |
Real Time Event
Use the serial command RTE to specify an action that is initiated at a particular time or based on an external stimulus.
For General Purpose IO “G”
Parameter | Name | Value |
P1 | RTE type | G (Real Time I/O Event) |
P2 | I/O bit | |
P3 | Pin state | H = High |
| (1 Character) | L = Low |
| (String) | “LHXXXHL” Combine multiple inputs and |
|
| trigger occurs when all conditions are met |
P4 | Commands | Any valid serial protocol command for the device |
Example 2. Projector powers up when a switch on the external device is turned on.
(GIO C2 I) | Set pin #2 configuration as input | |
(RTE G 2 | H “(PWR 1)”) | Power on when pin #2 set to high |
(RTE G 2 | L “(PWR 0)”) | Power off when pin #2 set to low |