Question: Now, change the program so that the first LED shows red, the second green, and the third blue. We want all three to start with

Now, change the program so that the first LED shows red, the second green, and the third blue. We want all three to start with a light intensity of 0. After a second, all three change intensity to 50, then 100,150,200,250, and back to 0. Repeating forever.
(VERY STRONG HINT: Do not use the pixel.setBrightness () function. It is not intended for this purpose and will likely break and/or confuse you later.)
REMEMBER: Create a new project for each IoT exercise! When you do so, reselect DeviceOS@5.8.0 and Photon 2/ P2, plus youll need to reinstall the neopixel library (and potentially re-add the line #include neopixel.h)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!