From e720dd01849c577e9efedf2fc9c7a120023ea745 Mon Sep 17 00:00:00 2001 From: Alexander Bobkov Date: Sun, 22 Dec 2024 13:38:50 -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 3272ad01c..cfe967866 100644 --- a/ESP-IDF_Robot/build/CMakeFiles/git-data/head-ref +++ b/ESP-IDF_Robot/build/CMakeFiles/git-data/head-ref @@ -1 +1 @@ -069f694d0b5b78baba7405ac5fa596aa00861ada +3450072f13736404bc5acde9cea2a877e681e7b1 diff --git a/ESP-IDF_Robot/main/blink_example_main.c b/ESP-IDF_Robot/main/blink_example_main.c index 04b76724c..5fb7caec2 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 (1024) // 512, 768 +#define LEDC_DUTY (768) // 512, 768 //#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