2026-01-02 08:53:55 +01:00
2026-01-02 08:53:55 +01:00
2026-01-02 08:53:55 +01:00

CosplayLeds

Good to know

  • Arduino (Uno)
  • WS2812B Ledstrip
  • Pushbutton (2x) op pin 5 en 6
  • Resistor

Data structure

Since we want to have multiple animations, having a good data structure is key

Animation Array

Having arrays we can loop through makes it easy to add/change animations

  • Color
  • Brightness
  • Wait in MS - Wait after color is set/fade is done
  • Fade - Boolean should this fade from previous color, brightness or instant?
  • FadeSpeed - speed of fade

Animations Array

By having an array of animations we can switch to the next animation by pressing the button. The first array being off

  • Name
  • Loop - Should this auto repeat
  • Animation Array
Description
No description provided
Readme 1.7 MiB