I have now 200 of this LED PL9823 F8. Some site says that it works with the FastLED and other NeoPixel WS2812. I have tryed them all but nothing works. So any ides what to do?
Well if i connect the PIN to DO Not the DI then it almost works. I think the color is reversed or something RGB -> GBR?! And the last one is not doing what the other are doing.
#include "application.h"
#include "neopixel/neopixel.h"
SYSTEM_MODE(AUTOMATIC);
// IMPORTANT: Set pixel COUNT, PIN and TYPE
#define PIXEL_PIN D2
#define PIXEL_COUNT 3
#define PIXEL_TYPE WS2812
Adafruit_NeoPixel strip = Adafruit_NeoPixel(PIXEL_COUNT, PIXEL_PIN, PIXEL_TYPE);
void setup()
{
strip.begin();
strip.show(); // Initialize all pixels to 'off'
}
void loop()
{
strip.setPixelColor(0, 255, 0, 0);
strip.setPixelColor(1, 255, 0, 0);
strip.setPixelColor(2, 255, 0, 0);
strip.show();
delay(250);
strip.setPixelColor(0, 0, 0, 255);
strip.setPixelColor(1, 0, 0, 255);
strip.setPixelColor(2, 0, 0, 255);
strip.show();
delay(250);
}
Can you please post here an image detailing your connections? I’m trying to do the same but i dont know how to build this.