Class RightSight

  • All Implemented Interfaces:
    edu.wpi.first.util.sendable.Sendable, java.lang.AutoCloseable

    public class RightSight
    extends edu.wpi.first.wpilibj.DigitalInput
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected boolean inverted  
    • Constructor Summary

      Constructors 
      Constructor Description
      RightSight​(int channel)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean get()  
      void setInverted​(boolean inverted)  
      • Methods inherited from class edu.wpi.first.wpilibj.DigitalInput

        close, getAnalogTriggerTypeForRouting, getChannel, getPortHandleForRouting, initSendable, isAnalogTrigger, setSimDevice
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • inverted

        protected volatile boolean inverted
    • Constructor Detail

      • RightSight

        public RightSight​(int channel)
    • Method Detail

      • setInverted

        public void setInverted​(boolean inverted)
      • get

        public boolean get()
        Overrides:
        get in class edu.wpi.first.wpilibj.DigitalInput