New LEDC auto channel function needs ability to manual adjust channel. #8967
Labels
Area: Peripherals API
Relates to peripheral's APIs.
Status: Needs investigation
We need to do some research before taking next steps on this issue
Milestone
Board
ESP32
Device Description
ESP32
Hardware Configuration
transducer and backlight
Version
latest development Release Candidate (RC-X)
IDE Name
Arduino IDE
Operating System
Windows 10
Flash frequency
40Mhz
PSRAM enabled
no
Upload speed
115200
Description
The new function got rid of the setup call that allowed you to manually set your channel. The problem is my project has a audio transducer and a lcd with backlight. When using ledc for tones and controlling the backlight brightness the two interfere. This is because the esp groups two sets of eight channels and the frequency is shared amongst the set. Since it now auto adds the channels its grouping both of my devices and when the frequency changes for tone control the backlight is then off and you can't fix this without a blinking in the backlight while they are grouped. Previously I could set channel 1 for backlight and 9 for the speaker and everything was happy since the frequencies were seperated.
Sketch
Debug Message
Other Steps to Reproduce
No response
I have checked existing issues, online documentation and the Troubleshooting Guide
The text was updated successfully, but these errors were encountered: