ESP-IDF Robot Controls

This commit is contained in:
2024-12-28 19:09:35 -05:00
parent b08fb0b713
commit fcf9fbfebe

View File

@@ -2,6 +2,12 @@
#define MOTOR_CONTROLSC_H
// Interpolate value (x) based on raw reading, min/max limits.
/*
8191 4095
0
0 -4095
*/
static int interpolate_raw_measure (int min, int max, int raw) {
int x;