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

NodeMCU V2 Pin Use #6

Open
TheRipper505 opened this issue Nov 23, 2018 · 1 comment
Open

NodeMCU V2 Pin Use #6

TheRipper505 opened this issue Nov 23, 2018 · 1 comment

Comments

@TheRipper505
Copy link

Thanks for the awesome work, Doc! One issue that gave me some trouble:
For the file "BruhZzs_LEDs_Pub.ino" on a NodeMCU v2, there seems to be a potential pin definition issue at line #34 (#define DATA_PIN). My data pin is, in fact, connected at D5, but the fail/default behavior described in the comments wouldn't work for me... checked and double checked everything... credentials = good, mqtt = good. Scratch head. Grunt. The NodeMCU just didn't seem to be passing the commands to the strip.

The solution (for me, at least) was to
1.) Insert a line of code at line 15: "#define FASTLED_ESP8266_RAW_PIN_ORDER" then
2.) Change the pin referenced at line #34 (now line #35 after the insert) to "14"

Voila! Whiz. Bang! Everything fired up just right.

@Snipercaine
Copy link
Owner

I need to add this to the code.
Thanks

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

No branches or pull requests

2 participants