• Hi,

    Is this currently working? I'm trying to drive a single WS2811s (in particular this circuit: https://hackaday.io/project/4603-pixiflo­od).

    I've tried using the hardware SPI implementation on the ESP8266 too but I've had no joy with that either. The LED works fine on my Espruino Pico using hardware SPI so I know that's fine.

    My environment is:
    NodeMCU
    Espruino v81.780
    12V circuit running the LED, 3.3V in the NodeMCU, common ground

    Here's the code I've been using:

    var esp = require("ESP8266");
    var pin = new Pin(15);        // I've tried all available GPIOs
    esp.neopixelWrite(pin, [50, 50, 50]);
    

    Any help would be really appreciated as I'd like to use this for a demo of some of my research on Wednesday.

    Thanks!

  • Try the following:

    var esp = require("ESP8266");
    var pin = new Pin(15);        // I've tried all available GPIOs
    pinMode(pin, "output");
    esp.neopixelWrite(pin, [50, 50, 50]);
    

    It may be that setting the pinMode explicitly to output is required.

About

Avatar for AlexOwen @AlexOwen started