Class WsI2COutput
- java.lang.Object
-
- org.wildstang.framework.io.outputs.Output
-
- org.wildstang.framework.io.outputs.I2COutput
-
- org.wildstang.hardware.roborio.outputs.WsI2COutput
-
public class WsI2COutput extends I2COutput
Controls an I2C output.
-
-
Constructor Summary
Constructors Constructor Description WsI2COutput(java.lang.String name, edu.wpi.first.wpilibj.I2C.Port port, int p_address)
Constructs the I2C output from config.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
sendDataToOutput()
Sets I2C output state to current value.
-
-
-
Constructor Detail
-
WsI2COutput
public WsI2COutput(java.lang.String name, edu.wpi.first.wpilibj.I2C.Port port, int p_address)
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 Detail
-
sendDataToOutput
protected void sendDataToOutput()
Sets I2C output state to current value.- Specified by:
sendDataToOutput
in classOutput
-
-