Description:
Returns | Range | Description |
---|---|---|
state | 0x0000 ... 0xFFFF | every set bit represents an active input |
The getInputState() method returns the current state of all inputs in a bit mask.
Note
Example
((IO.getInputsState() & (1 << 7)) == (1 << 7))
If this expression evaluates to true, the input #7 is currently active.
((IO.getInputsState() & (1 << 7)) == 0)
If this expression evaluates to true, the input #7 is currently inactive.
See also:
Copyright © demmel products gmbh. All rights reserved.