Test second set of pins

This commit is contained in:
Matt McWilliams 2024-02-20 12:17:39 +01:00
parent 0dc3269b31
commit a39ba5c94d
1 changed files with 8 additions and 3 deletions

View File

@ -6,9 +6,14 @@
*********/ *********/
// Motor A // Motor A
int motor1Pin1 = 14; //int motor1Pin1 = 14;
int motor1Pin2 = 27; //int motor1Pin2 = 27;
int enable1Pin = 26; //int enable1Pin = 26;
// Motor B
int motor1Pin1 = 5;
int motor1Pin2 = 18;
int enable1Pin = 19;
// Setting PWM properties // Setting PWM properties
const int freq = 30000; const int freq = 30000;