ESP IDF Robot

This commit is contained in:
2024-12-22 13:30:54 -05:00
parent de9da2b21c
commit 240a3a0d13
3 changed files with 2 additions and 2 deletions

View File

View File

@@ -1 +1 @@
3fd679976a6bcbbca90149ef8e078aa77537d0c8
de9da2b21c49484a9be4d0ba9905ea528faf5cfa

View File

@@ -38,7 +38,7 @@ TIMER RESOLUTION MAX VALUE HALF-DUTY
//#define LEDC_DUTY (1000)
#define LEDC_DUTY (512)
//#define LEDC_DUTY (4096)
#define LEDC_FREQUENCY (2000) // For LED the freuqncy of 500Hz seemed to be sufficient. // Frequency in Hertz. For DC motor, set frequency at 5 kHz
#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
/* 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.