Class WsDigitalOutput
java.lang.Object
org.wildstang.framework.io.outputs.Output
org.wildstang.framework.io.outputs.DigitalOutput
org.wildstang.hardware.roborio.outputs.WsDigitalOutput
Controls a generic digital output.
-
Constructor Summary
ConstructorsConstructorDescriptionWsDigitalOutput(String name, int channel, boolean p_default) Constructs the output from config. -
Method Summary
Modifier and TypeMethodDescriptionvoidDoes nothing, config values only affects start state.protected voidSets output state to current value.Methods inherited from class org.wildstang.framework.io.outputs.DigitalOutput
getValue, setValue
-
Constructor Details
-
WsDigitalOutput
Constructs the output from config.- Parameters:
name- Descriptive name of the output.channel- Hardware port number the output is connected to.p_default- Default state.
-
-
Method Details
-
sendDataToOutput
protected void sendDataToOutput()Sets output state to current value.- Specified by:
sendDataToOutputin classOutput
-
notifyConfigChange
public void notifyConfigChange()Does nothing, config values only affects start state.
-