ESP IDF Robot

This commit is contained in:
2024-12-22 13:15:51 -05:00
parent 2a27eed8f6
commit 06a4134d39
5 changed files with 9 additions and 2 deletions

View File

@@ -32,7 +32,7 @@ static const char *TAG = "ESP IDF Robot";
#define LEDC_DUTY (1024)
//#define LEDC_DUTY (3072)
//#define LEDC_DUTY (4096)
#define LEDC_FREQUENCY (5000) // For LED the freuqncy of 500Hz seemed to be sufficient. // Frequency in Hertz. For DC motor, set frequency at 5 kHz
#define LEDC_FREQUENCY (10000) // For LED the freuqncy of 500Hz seemed to be sufficient. // Frequency in Hertz. For DC motor, set frequency at 5 kHz
/* Use project configuration menu (idf.py menuconfig) to choose the GPIO to blink,
or you can edit the following line and set a number here.