mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-11 03:57:36 +00:00
ESP-IDF Robot Controls
This commit is contained in:
@@ -74,6 +74,7 @@ static void rc_get_raw_data() {
|
||||
m.motor1_rpm_pcm = 0;
|
||||
m.motor2_rpm_pcm = 0;
|
||||
}
|
||||
// LEFT or RIGHT
|
||||
if (rescale_raw_val(adc_raw[0][0]) >= 4000) {
|
||||
m.motor1_rpm_pcm = rescale_raw_val(adc_raw[0][0]);
|
||||
}
|
||||
|
Reference in New Issue
Block a user