I’ve figured out how to add more music to it but adding more Dotstar LED animations is taking more time as I learn how to swap Neopixel code to control the Dotstars.
I found some other LED patterns being used on this Christmas tree on the web and was hoping maybe that code was available somewhere to be used with the tree also?
The Dotstar LED’s are small but still super bright and colorful. Never seen 2020 Dotstar’s before but these are impressive!
If you don’t have your Particle Christmas Tree Ornament you can pick them up here:
Specifically can you point me to what change needs to happen. In the code I find the int currentState = STATE_NONE but don’t find any other location for a machine start up state.
I made a few different versions of the cheerlights display.
This one shows the current and previous 24 colors alternating down the sides of the tree.
This one is mostly green with the branch tips being the last six colors. The top is current color.
Last is this one that does the current and previous two colors as a layer cake.
–Edited–
Additional history style tree. Top LED (12) is current color. History starts lower left (0) and rotates around the tree clockwise. I have two LEDs (11 and 13) off to make the current color have some isolation.
After 2 of my Photons updated to the 2.0 Firmware the Christmas Tree code no longer runs, it’s just flashes RED SOS as soon as it connects to the internet.
Anybody else have their Particle Christmas Tree up and running on firmware 2.0??
One change in 2.0.0 was that you will now get a SOS panic when any function declared to return a value fails to actually return such value in any code path of the function. Before you just got random return values but now you get an SOS panic crash.