Back to Parent

Outcome


Outcome

For the final activity, I connected my Google Calendar events with Particle. Whenever a new event is created on my calendar, the function will be called to light up the NeoPixel.

Screen shot 2021 11 13 at 7.38.15 pm.thumb
Show Advanced Options

Process

To get familiarized with NeoPixels, I worked through the NeoPixel tutorials first. 

Connecting the NeoPixels

Show Advanced Options
Img 0049 2.thumb
Show Advanced Options

Exercise #1

Modify the code to light up pixel by pixel then reverse the sequence turning each pixel off one by one. 

Show Advanced Options
Show Advanced Options

Exercise 2

Modify the code to light up blue, then red, then green then white in sequence

Show Advanced Options
Show Advanced Options

Exercise #3

Change the code to only light up only one pixel at a time. With each loop move that pixel one position higher. When it reaches the final pixel, restart the sequence at zero i.e. build a single pixel that will continually cycle.

Show Advanced Options
Show Advanced Options

Exercise #4

Add three Particle.function to set the Red, Green and Blue components. Allow these values to be set from 0-255 and as they are set to change all of the pixels on the LED strip to that color.

Show Advanced Options
Show Advanced Options
Drop files here or click to select

You can upload files of up to 20MB using this form.