@@ -0,0 +1,876 @@
+/*%0D%0A * To change this template, choose Tools %7C Templates%0D%0A * and open the template in the editor.%0D%0A */%0D%0Apackage com.rmr662.frc2012.physical;%0D%0A%0D%0Aimport edu.wpi.first.wpilibj.DigitalInput;%0D%0A%0D%0A/**%0D%0A * Digital input requ port. This is a limit switch. Need a return if on/off.%0D%0A * need to be able to invert potentially...%0D%0A *%0D%0A * @author RMR Programming%0D%0A */%0D%0Apublic class RMRLimitSwitch %7B%0D%0A%0D%0A    DigitalInput digitalIn;%0D%0A    boolean inverted;%0D%0A%0D%0A    public RMRLimitSwitch(int port, boolean inverted) %7B%0D%0A        digitalIn = new DigitalInput(port);%0D%0A        this.inverted = inverted;%0D%0A    %7D%0D%0A    public RMRLimitSwitch(int port) %7B%0D%0A        digitalIn = new DigitalInput(port);%0D%0A        this.inverted = false;%0D%0A    %7D%0D%0A%0D%0A    public boolean getSwitch(boolean inverted)%7B%0D%0A        if (inverted)%7B%0D%0A            return !digitalIn.get();%0D%0A        %7D%0D%0A        return digitalIn.get();%0D%0A    %7D%0D%0A%7D%0D%0A

Add LimitSwitch