Package com.tinkerforge
Interface BrickletIndustrialDual020mA.CurrentReachedListener
-
- All Superinterfaces:
DeviceListener
,java.util.EventListener
,TinkerforgeListener
- Enclosing class:
- BrickletIndustrialDual020mA
public static interface BrickletIndustrialDual020mA.CurrentReachedListener extends DeviceListener
This listener is triggered when the threshold as set byBrickletIndustrialDual020mA.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 byBrickletIndustrialDual020mA.setDebouncePeriod(long)
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
currentReached(short sensor, int current)
-