mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-17 16:34:57 +00:00
ESP32-C3 RC
This commit is contained in:
@@ -886,6 +886,7 @@ void app_main(void)
|
||||
ledc_set_duty(LEDC_MODE, LEDC_CHANNEL, var);
|
||||
ledc_update_duty(LEDC_MODE, LEDC_CHANNEL);*/
|
||||
|
||||
/*
|
||||
ledc_set_duty(MTR_MODE, MTR_FRONT_LEFT, m.motor1_rpm_pcm);
|
||||
ledc_update_duty(MTR_MODE, MTR_FRONT_LEFT);
|
||||
ledc_set_duty(MTR_MODE, MTR_FRONT_RIGHT, m.motor2_rpm_pcm);
|
||||
@@ -900,5 +901,6 @@ void app_main(void)
|
||||
ESP_LOGW(TAG, "Motor 2 PWM: %d", m.motor2_rpm_pcm);
|
||||
ESP_LOGW(TAG, "Motor 3 PWM: %d", m.motor3_rpm_pcm);
|
||||
ESP_LOGW(TAG, "Motor 4 PWM: %d", m.motor4_rpm_pcm);
|
||||
*/
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user