ESP IDF Robot

This commit is contained in:
2024-12-22 10:35:47 -05:00
parent 7243d8d5ba
commit 6653c5e112
6 changed files with 759 additions and 2 deletions

View File

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