Skip to content

Commit

Permalink
Changed Drive Motor 1 to 9 to avoid PDB conflict.
Browse files Browse the repository at this point in the history
  • Loading branch information
kingofl337 committed Mar 9, 2024
1 parent fbac8b5 commit 75d0e40
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public ModuleIOSparkFlex(int index) {
m_index = index;
switch (index) {
case 0: // FL
driveSparkFlex = new CANSparkFlex(1, MotorType.kBrushless);
driveSparkFlex = new CANSparkFlex(9, MotorType.kBrushless); //Changed to resolve PDB Conflict
turnSparkMax = new CANSparkMax(2, MotorType.kBrushless);
turnAbsoluteEncoder = turnSparkMax.getAbsoluteEncoder(SparkAbsoluteEncoder.Type.kDutyCycle);
// MUST BE CALIBRATED
Expand Down

0 comments on commit 75d0e40

Please sign in to comment.