Class 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.
    • 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 class Output