LilyMini ProtoSnap Hookup Guide
Contributors:
Gella
Exploring the Sample Circuit
The LilyMini ProtoSnap ships with pre-loaded code that uses all the LilyPad pieces connected to it. This sample code has three modes, which can be selected by pressing the LilyPad Button on the bottom-left side of the ProtoSnap (see in the chart below). The built-in LED on the LilyMini will change color to indicate which mode has been selected.
LilyMini ProtoSnap Modes
Mode | Color | Behavior |
---|---|---|
1 | White | All LEDs on. |
2 | Magenta | LEDs fade in and out in a breathing pattern. When the light sensor is covered, LEDs fade faster. |
3 | Cyan | LEDs off. When the light sensor is covered, LEDs will twinkle. |
Try It Out
Press the button to switch modes. In modes 2 and 3, when the light value from the light sensor falls below a certain level, the LilyMini tells the LEDs to change behavior (breathe or twinkle). When the light level rises again, the LilyMini tells the LEDs to return to the original behavior.