mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-09-30 22:41:05 +00:00
ESP-IDF RC Motors Controls
This commit is contained in:
@@ -149,6 +149,8 @@ static void rc_get_raw_data() {
|
||||
|
||||
ESP_LOGI("PWM", "Motor 1 PWM: %d", m.motor1_rpm_pcm);
|
||||
ESP_LOGI("PWM", "Motor 2 PWM: %d", m.motor2_rpm_pcm);
|
||||
ESP_LOGI("PWM", "Motor 3 PWM: %d", m.motor3_rpm_pcm);
|
||||
ESP_LOGI("PWM", "Motor 4 PWM: %d", m.motor4_rpm_pcm);
|
||||
|
||||
if (do_calibration1_chan0) {
|
||||
ESP_ERROR_CHECK(adc_cali_raw_to_voltage(adc1_cali_chan0_handle, adc_raw[0][0], &voltage[0][0]));
|
||||
|
Reference in New Issue
Block a user