diff --git a/Cosplay LED code.docx b/Cosplay LED code.docx new file mode 100644 index 0000000..6e388bd Binary files /dev/null and b/Cosplay LED code.docx differ diff --git a/README.md b/README.md index 9ab3062..e66d4f9 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,37 @@ # CosplayLeds +## Helpfull links + +- Wokwi.com has a full emulator - +- Using ledstrips from Arduino - +- Example project from someone else - +- Good video to prime me + +## 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