Data Sheet

-20-
Bicolor Light
Project 7
Build the circuit and load sketch Bicolor_Light into
Snapino
TM
using the programming instructions in project 3.
The red/yellow bicolor LED (D10) alternates between red
and yellow.
Programming Note:
The red/yellow bicolor LED (D10) has red and yellow
LEDs connected in opposite directions. The sketch
instructions alternate between turning digital pins 9
and 10 HIGH or LOW, so that electricity flows out of
one and into the other.
Try reducing the delay to 100 to make it change
colors faster. Next, reduce the delay to 10 to make it
change colors really fast - so fast that red and yellow
blend into orange.
SCSNAPINO_Manual_112816.qxp 12/30/16 2:00 PM Page 21