Command: |
BUTTON i
|
---|---|
Command Syntax: |
READ BUTTON i |
Range: |
|
Describe: |
Reads the current cached state of the button. A return value of 0 = not pressed, 1 = currently pressed, 2 = was pressed and released since the last reading. READ BUTTON i |
Result: |
Read state of button/switch n - 0=not pressed, 1=pressed, 2=was pressed. |
Type or |
Sensor |