From 83e225f679550f1f916b661ce61a262abcf0933f Mon Sep 17 00:00:00 2001 From: Alexander Bobkov Date: Sun, 22 Dec 2024 13:28:16 -0500 Subject: [PATCH] ESP IDF Robot --- ESP-IDF_Robot/build/.ninja_lock | 0 ESP-IDF_Robot/build/CMakeFiles/git-data/head-ref | 2 +- ESP-IDF_Robot/main/blink_example_main.c | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 ESP-IDF_Robot/build/.ninja_lock diff --git a/ESP-IDF_Robot/build/.ninja_lock b/ESP-IDF_Robot/build/.ninja_lock new file mode 100644 index 000000000..e69de29bb diff --git a/ESP-IDF_Robot/build/CMakeFiles/git-data/head-ref b/ESP-IDF_Robot/build/CMakeFiles/git-data/head-ref index 35d1530b6..57399bd35 100644 --- a/ESP-IDF_Robot/build/CMakeFiles/git-data/head-ref +++ b/ESP-IDF_Robot/build/CMakeFiles/git-data/head-ref @@ -1 +1 @@ -91fa347e7f517a6817ed5af83bfe469a332b4b4c +0cd3e77ae854f8a4bc2555f621a8430834cdae62 diff --git a/ESP-IDF_Robot/main/blink_example_main.c b/ESP-IDF_Robot/main/blink_example_main.c index fa782ae11..a4fa76404 100644 --- a/ESP-IDF_Robot/main/blink_example_main.c +++ b/ESP-IDF_Robot/main/blink_example_main.c @@ -36,7 +36,7 @@ TIMER RESOLUTION MAX VALUE HALF-DUTY //#define LEDC_DUTY (2048) // Set duty to 50%. (2 ** 13) * 50% = 4096 1024 //#define LEDC_DUTY (1024) //#define LEDC_DUTY (1000) -#define LEDC_DUTY (1005) +#define LEDC_DUTY (512) //#define LEDC_DUTY (4096) #define LEDC_FREQUENCY (1000) // For LED the freuqncy of 500Hz seemed to be sufficient. // Frequency in Hertz. For DC motor, set frequency at 5 kHz