Back to Parent

Create Ambient Calendar Alert

This practice exercise was broken down into several parts with the end goal of sending an alert to my Neopixel a few minutes before a calendar appointment was beginning. The goal is to have it fade up slowly (using millis()) and then change color as the event approached. After the event started, it would fade down (also using millis()). 

First, I wired my the Neopixel circuit and used the same corresponding code for the outer loop example above and included the Particle.function code so I could call it using the Particle console.
Next, I updated my code to include the fade up to red over a 15 minute period using milis() and then begin a fade down to white after the event began also using millis(). I checked this with the Particle Console first to make sure it worked as intended.

Finally, I used IFTTT to connect my Google calendar and my Particle device to set-up an event to test over the internet. I used green instead of red since the red is too glaring for me even and also indicates "stop" while green tells me something is about to begin. 


Content Rating

Is this a good/useful/informative piece of content to include in the project? Have your say!

0