-
Notifications
You must be signed in to change notification settings - Fork 13.3k
BUILTIN_LED should be LED_BUILTIN #1555
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
Comments
I also stumbled on this. Is there a reason why the macro does not match? |
Added a PR for this: #1556 |
Well done :) |
@SukkoPera |
Ok, thanks. I'm not really for keeping both macros, but fair enough. |
fliphess
added a commit
to fliphess/esp8266_alarm_display
that referenced
this issue
Jun 20, 2018
r41d
added a commit
to r41d/esp-mqtt-rgb-led
that referenced
this issue
Aug 8, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Arduino's macro that holds the number of the built-in led in boards is
LED_BUILTIN
. For some reason, this core usesBUILTIN_LED
, leading to unportable code.See: https://www.arduino.cc/en/Reference/Constants
The text was updated successfully, but these errors were encountered: