commit 949ad755062be4afd13d88580bd27e0da3138fe9 Author: Smikkelbakje Date: Sat Nov 30 11:17:09 2024 +0000 initial commit diff --git a/main.ino b/main.ino new file mode 100644 index 0000000..cae7a03 --- /dev/null +++ b/main.ino @@ -0,0 +1,17 @@ +#include + +#define NUM_LEDS 512 +#define DATA_PIN 4 + +CRGB leds[NUM_LEDS]; + +void setup() { + FastLED.addLeds(leds, NUM_LEDS); // Use GRB color order + FastLED.setBrightness(50); // Lower brightness to reduce power draw +} + +void loop() { + fill_solid(leds, NUM_LEDS, CRGB::Red); // Set all LEDs to red + FastLED.show(); + delay(500); // Pause for half a second +}