Skip to content

Commit

Permalink
Swapped pins for encoders
Browse files Browse the repository at this point in the history
  • Loading branch information
BrandonKahn25 committed Apr 12, 2024
1 parent 001bb40 commit 0e1dcc3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions firmware/motor_control/motor_control.ino
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ static int PWM0 = 6; //right motor controller
static int PWM1 = 7; //left motor controller

//ENCODER
static int ENC0A = 8; //right encoder
static int ENC0B = 9; //right encoder
static int ENC1A = 10; //left encoder
static int ENC1B = 11; //left encoder
static int ENC0A = 9; //right encoder
static int ENC0B = 8; //right encoder
static int ENC1A = 11; //left encoder
static int ENC1B = 10; //left encoder

//EEPROM
static int EEPROMSDA = 0;
Expand Down

0 comments on commit 0e1dcc3

Please sign in to comment.