-
Notifications
You must be signed in to change notification settings - Fork 7.4k
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
fix GeebkleMINI ESP32C3: add variable for support internal built in switch #9499
Conversation
fix: add variable for support internal built in switch
👋 Hello SooDragon, we appreciate your contribution to this project! Click to see more instructions ...
Review and merge process you can expect ...
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @SooDragon, does this SW_BUILTIN comes from somewhere? I was not able to find any other board or reference that this definition is ever used in any examples etc. Thanks
That is for this specific board https://github.com/SooDragon/GeekbleMini-ESP32C3 Thank you |
#define LED_BUILTIN LED_BUILTIN // allow testing #ifdef LED_BUILTIN | ||
|
||
static const uint8_t SW_BUILTIN = 9; | ||
#define BUILTIN_SW SW_BUILTIN // backward compatibility |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there any sketch that uses BUILTIN_SW
? This is used for LED due to being like this in the past
Description of Change
add variable for support internal built in switch
This update will help Arduino users to easy-access built-in switch
Tests scenarios
Tested with arduino ide Ver 2.3.2
switch input functions were tested
Related links
https://cafe.naver.com/geekbleofficial