Back to Parent

The code of this project is fairly straight forward, as illustrated by this diagram. The code started with just the normal code to light up the neopixels, then we added a function that obtains data from the api. After that, we created two functions, a fade cool and fade warm that would display on repeat. In order to obtain the user data of at what temperature they would like the display to change color, we setup a function to be published to the particle platform, and we do this in the function setup(). After that, we parse the information from the api using a template and the particle integration. (Key component shown in pictures below).

 Lastly, we make sure to call the correct neopixel function to display the light as well as write to the display appropriately. 


Content Rating

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

0