Supplemental Lessons
Make sure to do the regular day lesson first.
Now that you have gotten the code to work, try adding the other colors to digitalWrites to get the colors to switch.
You add this to the loop just like you added delays and more digitalWrites to your blink code. Once you get it to work, change the values in the set color part to numbers between 0-255 and see what happens. |