mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-16 23:15:32 +00:00
ESP-IDF Robot Controls
This commit is contained in:
@@ -21,6 +21,8 @@ static int rescale_raw_val (int raw) {
|
||||
|
||||
int s;
|
||||
s = 4*raw - 8940;
|
||||
if (s < 0)
|
||||
s = 0;
|
||||
return s;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user