Class WsAnalogInput
- java.lang.Object
-
- org.wildstang.framework.io.inputs.Input
-
- org.wildstang.framework.io.inputs.AnalogInput
-
- org.wildstang.hardware.roborio.inputs.WsAnalogInput
-
- Direct Known Subclasses:
WsAbsoluteEncoder
public class WsAnalogInput extends AnalogInput
Reads an analog input.
-
-
Constructor Summary
Constructors Constructor Description WsAnalogInput(java.lang.String p_name, int channel)
Construct the analog input.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
readRawValue()
Reads the value from the analog input.-
Methods inherited from class org.wildstang.framework.io.inputs.AnalogInput
getValue, readDataFromInput, setValue
-
Methods inherited from class org.wildstang.framework.io.inputs.Input
addInputListener, disable, enable, getInputListeners, getName, hasValueChanged, isEnabled, notifyListeners, removeAllListeners, removeInputListener, setValueChanged, update
-
-
-
-
Method Detail
-
readRawValue
public double readRawValue()
Reads the value from the analog input.- Specified by:
readRawValue
in classAnalogInput
- Returns:
- Raw value from input.
-
-