From d72bfff6bac76a9a149d281d6c0e3487b6ce3eed Mon Sep 17 00:00:00 2001 From: Alexandre B Date: Wed, 21 May 2025 03:31:09 -0400 Subject: [PATCH] Update config.h PWM 1kHz --- ESP-IDF_Robot/main/config.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ESP-IDF_Robot/main/config.h b/ESP-IDF_Robot/main/config.h index 436365d6d..43037fcab 100644 --- a/ESP-IDF_Robot/main/config.h +++ b/ESP-IDF_Robot/main/config.h @@ -28,7 +28,7 @@ #define LEDC_DUTY (3361) //7820) // 8068, 7944, 7820, 7696, 7572, *7680*, 7424, 7168, 6144, 512, 768 -#define LEDC_FREQUENCY (5000) //8192) //4000) // For LED the freuqncy of 500Hz seems to be sufficient. // Frequency in Hertz. For DC motor, set frequency at 5 kHz +#define LEDC_FREQUENCY (5000) //8192) //4000) // For LED the freuqncy of 500Hz seems to be sufficient. // Frequency in Hertz. For DC motor, set frequency at 5 kHz; try 1kHz @ 13 bits resolution -#endif \ No newline at end of file +#endif