Step 17Test the Sketch
Grab a magnet and bring it close to the Reed Sensor. The pattern of LEDs will change to a slow blink. Remember to pull the magnet away unless you want the programs to change quickly.
Here is the default set of patterns:
0 - Fade
1 - Slow Blink
2 - Med Blink
3 - Fast Blink *
4 - All on
5 - All off
*personal favorite
You can program your own patterns as you desire. Notice that the Reed Switch is connected to an Interrupt pin.
| « Previous Step | Download PDFView All Steps | Next Step » |
![]() |
Add Comment
|
























































