Skip to content
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

Puts to rest the confusion about the builtin leds for nodemcu boards #6743

Merged
merged 2 commits into from
Nov 10, 2019

Conversation

devyte
Copy link
Collaborator

@devyte devyte commented Nov 10, 2019

Given that most nodemcu boards are based on the ESP12 boards, the definition of the builtin led is now changed to 2.
In addition, for those nodemcu boards that have an additional LED on the board connected to gpio16, an additional define is added called LED_BUILTIN_AUX.
Fixes #4715

Given that most nodemcu boards are based on the ESP12 boards, the definition of the builtin led is now changed to 2.
In addition, for those nodemcu boards that have an additional LED on the board connected to gpio16, an additional define is added called LED_BUILTIN_AUX.
@devyte devyte self-assigned this Nov 10, 2019
@devyte devyte merged commit dde76d1 into master Nov 10, 2019
@devyte devyte deleted the devyte-patch-2 branch November 10, 2019 05:01
@dsyleixa
Copy link

dsyleixa commented Nov 10, 2019

I have to disagree:
as stated, the built-in LED for ESP-12E nodeMCU is GPIO 16 == D0, and this is true for all of my 6 ESP-12E Boards!
By GPIO 2 nothing happens, neither LED is flashing.
Board-driver: nodeMCU 1.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Wrong #define LED_BUILTIN for NodeMCU board
2 participants