public static interface BrickletIndustrialDigitalIn4.InterruptListener extends DeviceListener
BrickletIndustrialDigitalIn4.setInterrupt(int)
.
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.
The interrupts use the grouping as set by BrickletIndustrialDigitalIn4.setGroup(char[])
.Modifier and Type | Method and Description |
---|---|
void |
interrupt(int interruptMask,
int valueMask) |
Copyright © 2022 Tinkerforge GmbH. All rights reserved.