-
Notifications
You must be signed in to change notification settings - Fork 7.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ledcAttach is undefined #9169
Comments
The API has changed. ledcAttachPin was v2.x. ledcAttach is v3.0 |
For more details please take a look on MIGRATION GUIDE FROM 2.X TO 3.X. |
OP is saying This is puzzling me too. I can't get platformio to make them available, even after clearing the platformio "cached" espressif-arduino stuff. |
ok, If I had to guess it's because it's not stable: and thus, platformio hasn't released their platform with it: This is platformio's problem though, not espressif's |
Hello, was this fixed? it is still not defined. |
@nsmith1024 API has changed, this will never be "fixed" you need to use the new API |
Board
ESP32S3
Device Description
Seeed Studio XIAO ESP32S3, attached to nothing
PLATFORM: Espressif 32 (2023.11.1) > Seeed Studio XIAO ESP32S3
Hardware Configuration
nothing connected
Version
other
IDE Name
PlatformIO
Operating System
Ubuntu
Flash frequency
40
PSRAM enabled
yes
Upload speed
115200
Description
'ledcAttachChannel' was not declared in this scope
https://espressif-docs.readthedocs-hosted.com/projects/arduino-esp32/en/latest/api/ledc.html
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: