projects
/
3501
/
3501-spark-go
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add compressor on/off
[3501/3501-spark-go]
/
src
/
org
/
usfirst
/
frc
/
team3501
/
robot
/
OI.java
diff --git
a/src/org/usfirst/frc/team3501/robot/OI.java
b/src/org/usfirst/frc/team3501/robot/OI.java
index 6a245583c57421768c4c10482d3803cac2d228f4..58781e3b038ea24db01c3967b1d9c7f26814a941 100644
(file)
--- 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(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() {
}
public double getForwardL() {