From ee6de2cf38d51765f36fb8cd84a2dba8fa0955e0 Mon Sep 17 00:00:00 2001 From: Alexander Bobkov Date: Sat, 28 Dec 2024 19:27:13 -0500 Subject: [PATCH] ESP-IDF Robot Controls --- ESP-IDF_Robot/main/motor_controls.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ESP-IDF_Robot/main/motor_controls.h b/ESP-IDF_Robot/main/motor_controls.h index d5e34f56c..629ec924b 100644 --- a/ESP-IDF_Robot/main/motor_controls.h +++ b/ESP-IDF_Robot/main/motor_controls.h @@ -4,9 +4,7 @@ // Interpolate value (x) based on raw reading, min/max limits. /* - 8191 4095 - 4095 0 - 0 -4095 + Joystick scale: 4096 2048 0 */ static int interpolate_raw_val (int raw) { int x;