ESP IDF Robot

This commit is contained in:
2024-12-22 12:42:05 -05:00
parent c90d84e6b1
commit 146943ca14
4 changed files with 161 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 = 0,
.duty = 1024,
.hpoint = 0,
};
ESP_ERROR_CHECK(ledc_channel_config(&ledc_channel));