Hello,
I am trying to get one LED working with WLED.
My config:
#define LEDPIN 4
#define DATAPIN 4
IR_PIN -1
#define USE_WS2801
But it does not work. This simple script here works fine:
any help is highly appreciated:
const uint16_t PixelCount = 1;
const uint8_t PixelPin = 4;
#define colorSaturation 255 // saturation of color constants
#include <NeoPixelBrightnessBus.h>
RgbColor red(255, 0, 0);
RgbColor green(0, 255, 0);
RgbColor blue(0, 0, 255);
NeoPixelBrightnessBus<NeoRgbFeature, Neo800KbpsMethod> strip(PixelCount, PixelPin);
void setup(void) {
Serial.begin(115200);
strip.Begin();
strip.Show();
}
void loop(void) {
strip.SetPixelColor(0, red);
strip.Show();
delay(2000);
strip.SetPixelColor(0, green);
strip.Show();
delay(2000);
}