ESP-IDF Robot Controls

This commit is contained in:
2024-12-28 19:27:13 -05:00
parent ac0895044c
commit ee6de2cf38

View File

@@ -4,9 +4,7 @@
// Interpolate value (x) based on raw reading, min/max limits. // Interpolate value (x) based on raw reading, min/max limits.
/* /*
8191 4095 Joystick scale: 4096 2048 0
4095 0
0 -4095
*/ */
static int interpolate_raw_val (int raw) { static int interpolate_raw_val (int raw) {
int x; int x;