Package com.tinkerforge
Interface BrickletAnalogInV2.VoltageReachedListener
-
- All Superinterfaces:
DeviceListener
,java.util.EventListener
,TinkerforgeListener
- Enclosing class:
- BrickletAnalogInV2
public static interface BrickletAnalogInV2.VoltageReachedListener extends DeviceListener
This listener is triggered when the threshold as set byBrickletAnalogInV2.setVoltageCallbackThreshold(char, int, int)
is reached. The parameter is the voltage of the sensor. If the threshold keeps being reached, the listener is triggered periodically with the period as set byBrickletAnalogInV2.setDebouncePeriod(long)
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
voltageReached(int voltage)
-