From 6167a949b666b4571ba82c27910ae8dcb81e32c8 Mon Sep 17 00:00:00 2001 From: Harald Barth Date: Tue, 2 Aug 2022 21:46:00 +0200 Subject: [PATCH] approx conversion factor for 12bit ADC of ESP32 --- MotorDrivers.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MotorDrivers.h b/MotorDrivers.h index f51807f..2f51b4a 100644 --- a/MotorDrivers.h +++ b/MotorDrivers.h @@ -56,8 +56,8 @@ new MotorDriver(11, 13, UNUSED_PIN, 8, A1, 1.95, 2000, UNUSED_PIN) #elif defined(ARDUINO_ARCH_ESP32) #define STANDARD_MOTOR_SHIELD F("STANDARD_MOTOR_SHIELD"), \ - new MotorDriver(25/* 3*/, 19/*12*/, UNUSED_PIN, UNUSED_PIN, 36/*A4*/, 2.00, 2000, UNUSED_PIN), \ - new MotorDriver(23/*11*/, 18/*13*/, UNUSED_PIN, UNUSED_PIN, 39/*A5*/, 2.00, 2000, UNUSED_PIN) + new MotorDriver(25/* 3*/, 19/*12*/, UNUSED_PIN, UNUSED_PIN, 36/*A4*/, 0.57, 2000, UNUSED_PIN), \ + new MotorDriver(23/*11*/, 18/*13*/, UNUSED_PIN, UNUSED_PIN, 39/*A5*/, 0.57, 2000, UNUSED_PIN) #else #define STANDARD_MOTOR_SHIELD F("STANDARD_MOTOR_SHIELD"), \ new MotorDriver(3, 12, UNUSED_PIN, 9, A0, 2.99, 2000, UNUSED_PIN), \