NimmLor / esp8266-fastled-iot-webserver

A universal software for all my LED projects, with many awesome features
https://www.thingiverse.com/surrbradl08/designs
GNU General Public License v3.0
366 stars 94 forks source link

ESP8266 NodeMcu can't figure out proper data pin #235

Open Tpow99 opened 2 years ago

Tpow99 commented 2 years ago

Hey! I am working on a nodemcu device and can't seem to get any of the pins to work as the data pin to the lights. When I have the device configured and wifi connections and local host both working, only the first three lights seem to power on at all, they flash random colors and the data pin cannot even turn them off, any thoughts?

WarDrake commented 2 years ago

NodeMCU requires a couple small changes, you can go to my fork and use the NodeMCU branch there

Tpow99 commented 2 years ago

@WarDrake thanks! I will give that a try this evening

Tpow99 commented 2 years ago

@WarDrake what pin would be pin 0? In your example, or would I name my own pin D4, D2, etc?

Tpow99 commented 2 years ago

Ah, a clean flash and a good connection and all 300 lights came to life! They are twinkling instead of solid, but you finally got me to a point I can work with! Thanks you @WarDrake If there is anything you might know about why they are not taking data from the web server, I would love to hear what you think it might be

Tpow99 commented 1 year ago

@WarDrake sorry to sort of spam you here, still having issues after taking a break for a while, I am attempting to use DATA_PIN: D2 and still seem to have no luck at all, any advice?

WarDrake commented 1 year ago

Use raw numbers, not Digital numbers. there's a line at the top of that branch to use raw numbers on line #18

define FASTLED_ESP8266_RAW_PIN_ORDER //To use raw NodeMCU pin numbers

image