particle-iot / xmastree Goto Github PK
View Code? Open in Web Editor NEW๐ Happy Holidays from Particle ๐
Home Page: https://particle-iot.github.io/xmastree
๐ Happy Holidays from Particle ๐
Home Page: https://particle-iot.github.io/xmastree
In order to get the correct color when calling setPixelColor()
, I had to change the initialization to:
Adafruit_DotStar leds = Adafruit_DotStar(TOTAL_LED, PIN_LED_DATA, PIN_LED_CLOCK, DOTSTAR_BGR);
@Cheong2K are you able to confirm if that's needed?
Since there are 25 LEDs could you create an advent calendar that adds one LED per day? Maybe have them build up the sides so the very top is Xmas day. Have the current day blink?
Similar idea: https://github.com/taylor-made/pihut-xmastree-advent
int playLED()
fails to return a value and starting with 2.0.0 this causes a SOS panic crash.
Adding return strtol(color, NULL, 0);
at the bottom of this function should do the trick
https://github.com/particle-iot/xmastree/blob/master/src/firmware/xmastree.ino#L101
Got one of the xenon to photon pin adapters and hooked it up to the tree - had to use this version of dotstar which works great, but the web ui doesn't support anything other than the core/photon/electron and fails on detection. The button works though.. :-P
How about one that is all green and then a single random led twinkles white then goes back to green to provide an old school simple look.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.