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

Turn off the blue wemos led #79

Closed
MubiTec opened this issue Jun 17, 2022 · 3 comments
Closed

Turn off the blue wemos led #79

MubiTec opened this issue Jun 17, 2022 · 3 comments
Labels
documentation Improvements or additions to documentation question Further information is requested resolved issue resolved

Comments

@MubiTec
Copy link

MubiTec commented Jun 17, 2022

Would it be possible to turn off the onboard led?

Thanks a lot for this great project!

@DanielR92
Copy link
Collaborator

DanielR92 commented Jun 19, 2022

Hello,

try it with this code:

'# disable built-in LED (inverted logic > pin D4)
pinMode(GPIO02, OUTPUT);
digitalWrite(GPIO02, HIGH);

But good idea, it is possible to build in the webinterface for a "status".
Example: LED blink > error?
LED off > just fine (or invert led)
LED on > Init

@MubiTec
Copy link
Author

MubiTec commented Jun 23, 2022

Now I usw D2 instead of D4 for CE. Nö blinking anymore 😁

@MubiTec MubiTec closed this as completed Jun 23, 2022
@stefan123t
Copy link
Collaborator

@DanielR92 it would be possible to use D2 as a signal LED as you mentioned.
Currently we use it as Chip Enable for the nRF24 chip, i.e. when there is no communication between the ESP and nRF the line goes down and we see the blue light. Actually this is the time when the ESP has free cpu for non-nRF things like WiFi, MQTT, etc. So in principal it acts as an indicator whether the ESP is reachable. Not too bad IMHO.

@stefan123t stefan123t added question Further information is requested resolved issue resolved documentation Improvements or additions to documentation labels Jan 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation question Further information is requested resolved issue resolved
Projects
None yet
Development

No branches or pull requests

3 participants