public static interface BrickletIndustrialDual020mA.CurrentReachedListener extends DeviceListener
BrickletIndustrialDual020mA.setCurrentCallbackThreshold(short, char, int, int)
is reached.
The parameter is the current of the sensor.
If the threshold keeps being reached, the listener is triggered periodically
with the period as set by BrickletIndustrialDual020mA.setDebouncePeriod(long)
.Modifier and Type | Method and Description |
---|---|
void |
currentReached(short sensor,
int current) |
Copyright © 2022 Tinkerforge GmbH. All rights reserved.