Skip to content

Commit

Permalink
Correct default value for analog 9 _CS4
Browse files Browse the repository at this point in the history
Closes #3
  • Loading branch information
photodude authored Jul 5, 2018
1 parent aec9d5d commit b8cdabf
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions DualVNH5019MotorShieldMod3.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,21 @@ DualVNH5019MotorShieldMod3::DualVNH5019MotorShieldMod3()
_INA1 = 2;
_INB1 = 4;
_EN1DIAG1 = 6;
_CS1 = A0; //analog 0 pin
_CS1 = A0; // Analog 0 pin
_INA2 = 7;
_INB2 = 8;
_EN2DIAG2 = 12;
_CS2 = A1; //analog 1 pin
_CS2 = A1; // Analog 1 pin

// Default Pin map motor sheild 2
_INA3 = 24;
_INB3 = 26;
_EN3DIAG3 = 22;
_CS3 = A8; // analog 8 pin
_CS3 = A8; // Analog 8 pin
_INA4 = 25;
_INB4 = 27;
_EN4DIAG4 = 23;
_CS4 = 9; //analog 9 pin
_CS4 = A9; // Analog 9 pin

// Default pwm motor sheild 1
_PWM1 = 9;
Expand All @@ -49,11 +49,11 @@ DualVNH5019MotorShieldMod3::DualVNH5019MotorShieldMod3(unsigned char INA3,
_INA1 = 2;
_INB1 = 4;
_EN1DIAG1 = 6;
_CS1 = A0; //analog 0 pin
_CS1 = A0; // Analog 0 pin
_INA2 = 7;
_INB2 = 8;
_EN2DIAG2 = 12;
_CS2 = A1; //analog 1 pin
_CS2 = A1; // Analog 1 pin

// Custom Pin map motor sheild 2
_INA3 = INA3;
Expand Down

0 comments on commit b8cdabf

Please sign in to comment.