mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-23 07:40:32 +00:00
ESP-IDF Robot Controls
This commit is contained in:
@@ -868,7 +868,8 @@ void app_main(void)
|
||||
//update_pwm(var);
|
||||
ledc_set_duty(LEDC_MODE, LEDC_CHANNEL, var);
|
||||
ledc_update_duty(LEDC_MODE, LEDC_CHANNEL);
|
||||
ESP_LOGI(TAG, "Duty cycle: %d", var);
|
||||
ESP_LOGW(TAG, "Duty cycle: %d", var);
|
||||
|
||||
}
|
||||
|
||||
//ESP_ERROR_CHECK(adc_continuous_stop(handle));
|
||||
|
Reference in New Issue
Block a user