ESP IDF Robot

This commit is contained in:
2024-12-22 12:43:22 -05:00
parent 9918836826
commit 930548f24f
3 changed files with 2 additions and 2 deletions

View File

@@ -164,7 +164,7 @@ static void ledc_init (void) {
.timer_sel = LEDC_TIMER,
.intr_type = LEDC_INTR_DISABLE,
.gpio_num = LEDC_OUTPUT_IO,
.duty = 1024,
.duty = LEDC_DUTY,
.hpoint = 0,
};
ESP_ERROR_CHECK(ledc_channel_config(&ledc_channel));