Class WsI2COutput
java.lang.Object
org.wildstang.framework.io.outputs.Output
org.wildstang.framework.io.outputs.I2COutput
org.wildstang.hardware.roborio.outputs.WsI2COutput
Controls an I2C output.
-
Constructor Summary
ConstructorsConstructorDescriptionWsI2COutput(String name, edu.wpi.first.wpilibj.I2C.Port port, int p_address) Constructs the I2C output from config. -
Method Summary
Modifier and TypeMethodDescriptionprotected voidSets I2C output state to current value.
-
Constructor Details
-
WsI2COutput
Constructs the I2C output from config.- Parameters:
name- Descriptive name of the I2C output.port- I2C hardware port number.p_address- I2C address, normally static by device.
-
-
Method Details
-
sendDataToOutput
protected void sendDataToOutput()Sets I2C output state to current value.- Specified by:
sendDataToOutputin classOutput
-