Replies: 2 comments 1 reply
-
you no longer need to specify channel. this is all done for you in the background. https://docs.espressif.com/projects/arduino-esp32/en/latest/migration_guides/2.x_to_3.0.html#id2 |
Beta Was this translation helpful? Give feedback.
-
No, the migration documentation points to the ledc page and ledcAttachChannel is clearly defined there. This works for me at the moment. |
Beta Was this translation helpful? Give feedback.
-
Hi there,
I am using the ESP32-C6 development board, Arduino IDE 2.3 and ESP32 3.0.0.0 alpha 3. I need two different PWM frequencies, my plan was to use this function that worked in the past:
LEDCAttachChannel(SOUND_PIN_SPEAKER, SOUND_PWM_FREQ, SOUND_PWM_RESOLUTION, SOUND_PWM_CHANNEL):
But the problem is that ledcAttachChannel is now missing.
Does anyone have any idea why this is not available and how I can work around this?
Thank you very much.
Beta Was this translation helpful? Give feedback.
All reactions