Skip to content

NodeMCU V2 Pin Use #6

Description

@TheRipper505

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions