public static interface BrickletIO16.InterruptListener extends DeviceListener
BrickletIO16.setPortInterrupt(char, short)
.
The values are the port, a bitmask that specifies which interrupts occurred
and the current value bitmask of the port.
For example:
* ('a', 1, 1) or ('a', 0b00000001, 0b00000001) means that on port A an
interrupt on pin 0 occurred and currently pin 0 is high and pins 1-7 are low.
* ('b', 129, 254) or ('b', 0b10000001, 0b11111110) means that on port B
interrupts on pins 0 and 7 occurred and currently pin 0 is low and pins 1-7
are high.Modifier and Type | Method and Description |
---|---|
void |
interrupt(char port,
short interruptMask,
short valueMask) |
Copyright © 2022 Tinkerforge GmbH. All rights reserved.