From a39ba5c94d8d4fe504de224f4913393497053bd3 Mon Sep 17 00:00:00 2001 From: mattmcw Date: Tue, 20 Feb 2024 12:17:39 +0100 Subject: [PATCH] Test second set of pins --- ino/esp32_dc_motor_poc/esp32_dc_motor_poc.ino | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/ino/esp32_dc_motor_poc/esp32_dc_motor_poc.ino b/ino/esp32_dc_motor_poc/esp32_dc_motor_poc.ino index eef5aea..ae8b1dd 100644 --- a/ino/esp32_dc_motor_poc/esp32_dc_motor_poc.ino +++ b/ino/esp32_dc_motor_poc/esp32_dc_motor_poc.ino @@ -6,9 +6,14 @@ *********/ // Motor A -int motor1Pin1 = 14; -int motor1Pin2 = 27; -int enable1Pin = 26; +//int motor1Pin1 = 14; +//int motor1Pin2 = 27; +//int enable1Pin = 26; + +// Motor B +int motor1Pin1 = 5; +int motor1Pin2 = 18; +int enable1Pin = 19; // Setting PWM properties const int freq = 30000;