Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

NodeMCU ESP8266 #20

Open
sayeedNIAZ opened this issue Mar 13, 2021 · 2 comments
Open

NodeMCU ESP8266 #20

sayeedNIAZ opened this issue Mar 13, 2021 · 2 comments

Comments

@sayeedNIAZ
Copy link

Please convert this code for NodeMCU 1.0 (ESP-12E Module)

@Dancopy
Copy link

Dancopy commented Apr 27, 2021

I would also like to; any new?

@Input-BDF
Copy link

Tested it on an ESP-12F Module. You maybe have to specify FastLeds Pin order cmp.: https://github.com/FastLED/FastLED/wiki/ESP8266-notes

Cause there seems a timing problem in FastLed with ESP8266, which causes to always illuminate pixel 1 in random color you have to do some change on line 127

for (int i=0; i<NUM_LEDS; i++) 
      LEDs[i] = CRGB::Black;

to:
FastLED.clear();
which is more elegant ;)

Also fix a little bug and change night() according to suggestions/ answers in #12

for correct console prints don't forget to specify correct baud rate on Serial.begin

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants