Class PotiRotaryV2
- java.lang.Object
-
- berlin.yuna.tinkerforgesensor.logic.SensorHandler<com.tinkerforge.BrickletRotaryPotiV2>
-
- berlin.yuna.tinkerforgesensor.model.handler.PotiRotaryV2
-
public class PotiRotaryV2 extends SensorHandler<com.tinkerforge.BrickletRotaryPotiV2>
ValueType.ROTARY[x = number]ValueType.PERCENTAGE[x = number]
-
-
Field Summary
-
Fields inherited from class berlin.yuna.tinkerforgesensor.logic.SensorHandler
config, CONFIG_BRIGHTNESS, CONFIG_COLOR, CONFIG_FREQUENCY, CONFIG_FUNCTION_A, CONFIG_HIGH_CONTRAST, CONFIG_LED_INFO, CONFIG_LED_STATUS, CONFIG_POSITION, CONFIG_POSITION_HOLD, CONFIG_VOLUME, device, sensor, THRESHOLD_PREFIX
-
-
Constructor Summary
Constructors Constructor Description PotiRotaryV2(Sensor sensor, com.tinkerforge.Device device)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SensorHandler<com.tinkerforge.BrickletRotaryPotiV2>init()SensorHandler<com.tinkerforge.BrickletRotaryPotiV2>initConfig()SensorHandler<com.tinkerforge.BrickletRotaryPotiV2>runTest()SensorHandler<com.tinkerforge.BrickletRotaryPotiV2>send(Object value)SensorHandler<com.tinkerforge.BrickletRotaryPotiV2>setRefreshPeriod(int milliseconds)SensorHandler<com.tinkerforge.BrickletRotaryPotiV2>setStatusLedHandler(int value)SensorHandler<com.tinkerforge.BrickletRotaryPotiV2>triggerFunctionA(int value)-
Methods inherited from class berlin.yuna.tinkerforgesensor.logic.SensorHandler
animateStatuesLed, applyOnNewThreshold, applyOnNewValue, device, getBrightness, getConfig, getFrequency, getVolume, hasBrightness, hasFrequency, hasHighContrast, hasInfoLed, hasStatusLed, hasVolume, initHandler, sendEvent, sensor, setBrightness, setConfig, setFrequency, setHighContrast, setInfoLed, setStatusLed, setVolume
-
-
-
-
Constructor Detail
-
PotiRotaryV2
public PotiRotaryV2(Sensor sensor, com.tinkerforge.Device device)
-
-
Method Detail
-
send
public SensorHandler<com.tinkerforge.BrickletRotaryPotiV2> send(Object value)
- Specified by:
sendin classSensorHandler<com.tinkerforge.BrickletRotaryPotiV2>
-
init
public SensorHandler<com.tinkerforge.BrickletRotaryPotiV2> init()
- Specified by:
initin classSensorHandler<com.tinkerforge.BrickletRotaryPotiV2>
-
initConfig
public SensorHandler<com.tinkerforge.BrickletRotaryPotiV2> initConfig()
- Specified by:
initConfigin classSensorHandler<com.tinkerforge.BrickletRotaryPotiV2>
-
runTest
public SensorHandler<com.tinkerforge.BrickletRotaryPotiV2> runTest()
- Specified by:
runTestin classSensorHandler<com.tinkerforge.BrickletRotaryPotiV2>
-
setStatusLedHandler
public SensorHandler<com.tinkerforge.BrickletRotaryPotiV2> setStatusLedHandler(int value)
- Specified by:
setStatusLedHandlerin classSensorHandler<com.tinkerforge.BrickletRotaryPotiV2>
-
triggerFunctionA
public SensorHandler<com.tinkerforge.BrickletRotaryPotiV2> triggerFunctionA(int value)
- Specified by:
triggerFunctionAin classSensorHandler<com.tinkerforge.BrickletRotaryPotiV2>
-
setRefreshPeriod
public SensorHandler<com.tinkerforge.BrickletRotaryPotiV2> setRefreshPeriod(int milliseconds)
- Specified by:
setRefreshPeriodin classSensorHandler<com.tinkerforge.BrickletRotaryPotiV2>
-
-