From 12424bac0dff285f21e4da3a227ba1569c2044b2 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Fri, 12 Feb 2016 16:13:50 -0500 Subject: new pwm ports --- src/org/usfirst/frc/team4272/robot2016/HwRobot.java | 10 +++++----- 1 file 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); -- cgit v1.2.3-54-g00ecf