X-Git-Url: http://challenge-bot.com/repos/?a=blobdiff_plain;f=src%2Forg%2Fusfirst%2Ffrc%2Fteam3501%2Frobot%2FOI.java;fp=src%2Forg%2Fusfirst%2Ffrc%2Fteam3501%2Frobot%2FOI.java;h=58781e3b038ea24db01c3967b1d9c7f26814a941;hb=510cff21b567a9d71b188b28081b716b9ea816cc;hp=6a245583c57421768c4c10482d3803cac2d228f4;hpb=f24c549dc374aed0a8b543e1c64139ef0318b65b;p=3501%2F3501-spark-go diff --git a/src/org/usfirst/frc/team3501/robot/OI.java b/src/org/usfirst/frc/team3501/robot/OI.java index 6a24558..58781e3 100644 --- a/src/org/usfirst/frc/team3501/robot/OI.java +++ b/src/org/usfirst/frc/team3501/robot/OI.java @@ -11,6 +11,12 @@ public class OI { right.whenPressed(1, new CloseClaw()); right.whenReleased(1, new OpenClaw()); + + right.whenPressed(11, new TurnOffCompressor()); + right.whenPressed(12, new TurnOffCompressor()); + + right.whenPressed(7, new TurnOnCompressor()); + right.whenPressed(8, new TurnOnCompressor()); } public double getForwardL() {