Hello,
I’m trying to have fastled running my ws2801 pixels on nodemcu 1.0.
I have latest arduino ide and latest fastled library.
I uploaded Cylon sketch but nothing happens, this is my setup :
I am using pins D3 and D4. I have tried other pins without success. Can you help please ?
#include “FastLED.h”
#define DATA_PIN 0
#define CLOCK_PIN 2
#define CHIPSET WS2801
#define COLOR_ORDER GRB
#define NUM_LEDS 96
#define BRIGHTNESS 255
CRGB leds[NUM_LEDS];
void setup() {
FastLED.addLeds<CHIPSET, DATA_PIN, CLOCK_PIN, COLOR_ORDER>(leds, NUM_LEDS);
FastLED.setBrightness( BRIGHTNESS );
}
I have also tried with WS2812 without success, they work when I use lua and the ws2812 module. I can’t seem to have fastled working 
add in the first line: #define FASTLED_ESP8266_RAW_PIN_ORDER
Its a problem of the pin mapping…
Alleluia !!! Thank you very much !!
This is great I can now run my matrix offline and with artnet, I’m going to add a button to switch mode. Until now I used a raspberry for artnet and an arduino for offline … this 3€ chip is so wonderful !!
can someone post a simple example on the esp12e and the pins.
You must search for nodemcu pinout, pin 0 is D3 for example
I have all the pinouts, I am using gpio13 which is D7.