mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-11 11:50:17 +00:00
ESP IDF Robot
This commit is contained in:
@@ -148,7 +148,7 @@ static void ledc_init (void) {
|
|||||||
.timer_sel = LEDC_TIMER,
|
.timer_sel = LEDC_TIMER,
|
||||||
.intr_type = LEDC_INTR_DISABLE,
|
.intr_type = LEDC_INTR_DISABLE,
|
||||||
.gpio_num = LEDC_OUTPUT_IO,
|
.gpio_num = LEDC_OUTPUT_IO,
|
||||||
.duty = 0,
|
.duty = LEDC_DUTY,//0,
|
||||||
.hpoint = 0
|
.hpoint = 0
|
||||||
};
|
};
|
||||||
ESP_ERROR_CHECK(ledc_channel_config(&ledc_channel));
|
ESP_ERROR_CHECK(ledc_channel_config(&ledc_channel));
|
||||||
|
Reference in New Issue
Block a user