summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-02-12 16:13:50 -0500
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-02-12 16:13:50 -0500
commit12424bac0dff285f21e4da3a227ba1569c2044b2 (patch)
tree6a450ae14b69f6327125a0aaf00779c0e6b5aa1b
parent582f062811d298efc6a0d4c09ca746a240a96220 (diff)
new pwm ports
-rw-r--r--src/org/usfirst/frc/team4272/robot2016/HwRobot.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/org/usfirst/frc/team4272/robot2016/HwRobot.java b/src/org/usfirst/frc/team4272/robot2016/HwRobot.java
index 62b71c5..3ee3de0 100644
--- a/src/org/usfirst/frc/team4272/robot2016/HwRobot.java
+++ b/src/org/usfirst/frc/team4272/robot2016/HwRobot.java
@@ -29,11 +29,11 @@ public class HwRobot {
//public Encoder lDriveE = new Encoder(/*DIO*/2,/*DIO*/3);
//public Encoder rDriveE = new Encoder(/*DIO*/0,/*DIO*/1, true);
- private PIDOutput lDriveM1 = new Talon(/*PWM*/0), lDriveM2 = new Talon(/*PWM*/1);
- private PIDOutput rDriveM1 = new Talon(/*PWM*/2), rDriveM2 = new Talon(/*PWM*/3);
- private PIDOutput armM = new PIDOutputSplitter(new Talon(/*PWM*/4), new Talon(/*PWM*/5));
- private PIDOutput fBallM = new PIDOutputSplitter(new Talon(/*PWM*/6), new Talon(/*PWM*/7));
- private PIDOutput bBallM = new PIDOutputSplitter(new Talon(/*PWM*/8), new Talon(/*PWM*/9));
+ private PIDOutput lDriveM1 = new Talon(/*PWM*/1), lDriveM2 = new Talon(/*PWM*/0);
+ private PIDOutput rDriveM1 = new Talon(/*PWM*/2), rDriveM2 = new Talon(/*PWM*/4);
+ private PIDOutput armM = new Talon(/*PWM*/8);
+ private PIDOutput fBallM = new PIDOutputSplitter(new Talon(/*PWM*/9), new Talon(/*PWM*/6));
+ private PIDOutput bBallM = new PIDOutputSplitter(new Talon(/*PWM*/3), new Talon(/*PWM*/7));
public HwRobot() {
//lDriveE.setPIDSourceType(PIDSourceType.kRate);