From 273c97d7d353bd5430940e76c6cfeb1d977ec39c Mon Sep 17 00:00:00 2001 From: Alexander B Date: Thu, 26 Jun 2025 01:13:01 -0400 Subject: [PATCH] PWM rescaling --- ESP-IDF_Robot/main/blink_example_main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ESP-IDF_Robot/main/blink_example_main.c b/ESP-IDF_Robot/main/blink_example_main.c index 5f47669a9..db612273b 100644 --- a/ESP-IDF_Robot/main/blink_example_main.c +++ b/ESP-IDF_Robot/main/blink_example_main.c @@ -289,8 +289,8 @@ static void rc_task (void *arg) { while (true) { update_pwm (rc_x, rc_y); ESP_LOGI("x,y", "( %d, %d ) [ %d, %d] ", rc_x, rc_y, x, y); - //vTaskDelay (10 / portTICK_PERIOD_MS); // Determines responsiveness - vTaskDelay (1000 / portTICK_PERIOD_MS); + vTaskDelay (10 / portTICK_PERIOD_MS); // Determines responsiveness + //vTaskDelay (1000 / portTICK_PERIOD_MS); } }