ESP IDF Robot

This commit is contained in:
2024-12-22 12:31:21 -05:00
parent fc24cd79e1
commit 073925b35f
3 changed files with 2 additions and 2 deletions

View File

View File

@@ -1 +1 @@
773b8a1821fc795151cd7020206cfe640bcc82e9 fc24cd79e189ce334ab16d79cd5c9b395fbe9aab

View File

@@ -164,7 +164,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 = 10, //LEDC_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));