ESP-IDF Robot Controls

This commit is contained in:
2024-12-31 02:30:30 -05:00
parent d7c34720ec
commit f0dee9f54e
3 changed files with 2 additions and 2 deletions

View File

@@ -79,7 +79,7 @@ static void rc_get_raw_data() {
// REVERSE
else if (rescale_raw_val(adc_raw[0][0]) >= 700 && rescale_raw_val(adc_raw[0][1]) < 700) {
m.motor1_rpm_pcm = rescale_raw_val(adc_raw[0][1]);
ESP_LOGW("RC", "FORWARD");
ESP_LOGW("RC", "REVERSE");
//m.motor2_rpm_pcm = rescale_raw_val(adc_raw[0][1]);
}
else {