mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-12-04 16:59:32 +00:00
ESP IDF Robot
This commit is contained in:
@@ -155,6 +155,10 @@ static void ledc_init (void) {
|
||||
|
||||
void app_main(void)
|
||||
{
|
||||
// Initialize LED
|
||||
ledc_init();
|
||||
ESP_ERROR_CHECK(ledc_set_duty(LEDC_MODE, LEDC_CHANNEL, LEDC_DUTY));
|
||||
ESP_ERROR_CHECK(ledc_update_duty(LEDC_MODE, LEDC_CHANNEL));
|
||||
// Initialize the config structure.
|
||||
gpio_config_t io_conf = {};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user