Skip to content

Commit

Permalink
Merge pull request #6 from LakeEffectRobotics/rev-ph
Browse files Browse the repository at this point in the history
changes pneumatics from ctre's pcm to rev's ph
  • Loading branch information
karmalover-ca authored Mar 1, 2024
2 parents 2bd2506 + e306810 commit 11b3a38
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/java/frc/robot/RobotMap.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,16 @@ private class CAN {
}

private class PCM {
private static final int DRIVE_SHIFT_UP = 0;
private static final int DRIVE_SHIFT_DOWN = 1;
private static final int DRIVE_SHIFT_UP = 14;
private static final int DRIVE_SHIFT_DOWN = 15;
}

public static final CANSparkMax leftController1 = new CANSparkMax(CAN.LEFT_CONTROLLER_1, MotorType.kBrushless);
public static final CANSparkMax rightController1 = new CANSparkMax(CAN.RIGHT_CONTROLLER_1, MotorType.kBrushless);
public static final CANSparkMax rightController2 = new CANSparkMax(CAN.RIGHT_CONTROLLER_2, MotorType.kBrushless);
public static final CANSparkMax leftController2 = new CANSparkMax(CAN.LEFT_CONTROLLER_2, MotorType.kBrushless);

public static final DoubleSolenoid driveShitSolenoid = new DoubleSolenoid(PneumaticsModuleType.CTREPCM, PCM.DRIVE_SHIFT_DOWN, PCM.DRIVE_SHIFT_UP);
public static final DoubleSolenoid driveShitSolenoid = new DoubleSolenoid(PneumaticsModuleType.REVPH, PCM.DRIVE_SHIFT_DOWN, PCM.DRIVE_SHIFT_UP);

// Static initializer will be run on first reference to RobotMap (stealing code from greg)
static {
Expand Down

0 comments on commit 11b3a38

Please sign in to comment.