diff --git a/ESP-IDF_Robot/main/motor_controls.h b/ESP-IDF_Robot/main/motor_controls.h index 344984822..1ed10d54b 100644 --- a/ESP-IDF_Robot/main/motor_controls.h +++ b/ESP-IDF_Robot/main/motor_controls.h @@ -4,8 +4,10 @@ // Interpolate value (x) based on raw reading, min/max limits. /* - Joystick scale: 4096 2048 0 - PWM scale: 8191 4096 0 + Joystick scale: 4096 2048 0 + PWM scale: 8191 4096 0 + + PWM Output: +8191 0 -8191 */ static int interpolate_raw_val (int raw) { int x;