-
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
Boards: Update LED_BUILTIN with the correct value for esp32c3 #10074
Conversation
👋 Hello stan220, we appreciate your contribution to this project! Click to see more instructions ...
Review and merge process you can expect ...
|
Thanks for PR @stan220, we will review it soon. |
Hello @stan220, the change you are proposing is not valid for Espressif's official ESP32C6 dev kit, as there is RGB LED. |
What are you taking about? My fix regarding ESP32C3 (not ESP32C6). Plz, leave a link to the guide for ESP32C3.
Plz, check out second example: https://github.com/MoonFox2006/ESP32C3_Wake_Demo/blob/main/src/main.cpp#L6. BL, @P-R-O-C-H-Y, on ESP32C3 there is no 28 port at all. Could you please review PR more carefully once again. |
Sorry the C6 was a typo, I meant the C3 of course. Link for the Espressif's ESP32C3-devkit-m:
The thing is, that as its RGB LED, you cannot just set the pin to HIGH or LOW. In order to control the RGB LED you need to use Please take a look on our code in the Arduino-esp32 core:
|
@P-R-O-C-H-Y understood, thanks for the clarification! although it looks a bit strange. |
Checklist
This entire section above can be deleted if all items are checked.
Description of Change
The led pin for esp32-c3 should be pin 8.
Tests scenarios
I was upload blink example and checked it myself on my esp32c3.
Related links
According to this manual and esp32-c3 schema:
https://wiki.icbbuy.com/doku.php?id=developmentboard:esp32-c3mini
One more example:
https://github.com/MoonFox2006/ESP32C3_Wake_Demo/blob/main/src/main.cpp#L6