mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-15 14:46:45 +00:00
ESP-IDF Robot Controls
This commit is contained in:
@@ -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;
|
||||||
|
Reference in New Issue
Block a user