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