User manual

14.0 APPENDIX: GPIO
R599791 - FORCE 3D User Manual 97
closing event.
Examples:
Tu rn room lighting on when the projector is turned off. (Assumes a control/automation unit is configured to turn the
lights on when pin 2 of its input goes high.)
(GIO+CNFG “OOOllll”) Set pin #2, 3 & 4 configuration to output and pin 6, 7, 8 & 9 to input
(GIO+STAT “10xxxxx”) Set pin #2 to high, pin 3 to low and the state of all other pins unchanged
Query Command:
(GIO+STAT) Request the state of all pins
(GIO+STAT “1001001”) Reply of pin states - 1 means pin is high, 0 means pin is low
(GIO+CNFG) Request the configuration of all pins
(GIO+CNFG “lllOOOO”) Reply of pin configurations - pins 2, 3 & 4 are Inputs, pins 6, 7, 8 & 9 are Outputs
NOTE: The strings in the commands refer to pins 2, 3, 4, 6, 7, 8, 9 in order from left to right.
PIN
PIN
Open (0 or Low)
Closed (1 or High)