Hey guys total noob here looking for help again.

Hey guys total noob here looking for help again. I just recently purchased a NodeMCU V1.0 because i need to make a decoration for christmas which is running very late now! But i keep getting all sorts of errors when i try to upload a program to it. Im trying to test out a strip using the demo reel 100 and i moved the loop to the bottom but i keep getting an error telling me gNextPattern was not declared and it is literally sitting 3 lines above it. Has anyone else had this issue with the NodeMCU?

If you use pastebin to share the code we might be able to see the problem. Have you been able to run the blink test? Or the demo reel?

What Charity said. Need to see the code to have a better idea. It sounds like you are trying to declare a function as a variable (maybe just missing open/close parenthesis).

Are you using the latest arduino ide? I’m pretty sure this issue was fixed.

i managed to get some code running on it but its very glitchy. Ill share the pastebin

http://pastebin.com/CFgs6p7p

also after about 5 minutes my NodeMCU began to smell like it would catch fire!

I noticed that when I had my Nodemcu board attached via USB to my computer and also had my strip connected to a different power supply that it was getting really hot. If I only did one or the other it was ok

I had my strip running from a 2.1Amp power supply which was also powering the board

The strip was still functioning when i disconnected the power supply so i dont think i burned it. But it was definitely close lol

First off, I’d reduce the code to something readable/manageable that still exhibits issues. People that might help would prefer not to read a magnum opus. Second, I’d provide an accurate wiring diagram.

@Christian_Martinez if you want a simple plug and play solution that gives you the demo100 routines on an ESP with a web control app, @Jason_Coon 's works out of the box:

Dang im gonna have fun modifying that code lol

@Mike_Thornbury Im using Arduino 1.6.7 and when i tried to upload the program mentioned above i got all sorts of errors. So i moved setup and loop to the bottom of the code and i am still getting all sorts of errors, those are the only changes ive made. Anyone else had this issue who could offer a solution?

Tried a newer version of Arduino? Any reason you’re using 1.6.7? Have the latest version of ESP8266 Arduino libraries/tools? Turn on verbose compiler output and then post the output on gist or pastebin and post a link here. I’ll take a look.

Ok i updated to arduino 1.6.13 and i was able to upload the program successfully, then in the serial monitor it gives me an IP address to type into my browser but everytime i search it it gives me an error stating Not found: /

Did you upload the web app to SPIFFS? https://github.com/jasoncoon/esp8266-fastled-webserver#installing

No actually forgot all about that part of it lol. Let me try that when i get the chance

Well guys it worked for a little while, i connected to it and switched around a few patterns, and then i think i fried the board because i cant get it to turn on and my computer wont read it lol

how many leds? I can run 50 WS8212Bs easy using that sketch using nothing more than the USB off my computer. It isn’t at maximum brightness, but bright enough. I cant see how you would have fried your board unless it’s wired weird.

I connect my PSU to the LEDs + and - and the WeMos +5 and GND and it works just fine, doesn’t get appreciably hot.