public static interface BrickletIO4.InterruptListener extends DeviceListener
BrickletIO4.setInterrupt(short)
.
The values are a bitmask that specifies which interrupts occurred
and the current value bitmask.
For example:
* (1, 1) or (0b0001, 0b0001) means that an interrupt on pin 0 occurred and
currently pin 0 is high and pins 1-3 are low.
* (9, 14) or (0b1001, 0b1110) means that interrupts on pins 0 and 3
occurred and currently pin 0 is low and pins 1-3 are high.Modifier and Type | Method and Description |
---|---|
void |
interrupt(short interruptMask,
short valueMask) |
Copyright © 2021 Tinkerforge GmbH. All rights reserved.