You are on page 1of 3

Sparkfun LilyPad Arduino Development Board

LilyPad Arduino Simple Board (Microcontroller)

LilyPad Vibe Board

LilyPad Temp Sensor

LilyPad RGB Tri-Color LED

LilyPad Light Sensor

LilyPad Button

LilyPad Buzzer

LilyPad Slide Switch

LilyPad Bright White LED

Modkit Software (Visual programming)

Hardware Selection

The Code Block View

Run the program

Stop the program

Coding Area

Visual Programming Codes

Explaining the code Led Selection with on/off

Measure the density of light

Forever makes the code repeat.

Execute some code if the condition occurs, and another code will be occurred if the condition does not occur.

Pause for a particular time.

It is used to compare two inputs

HANDS-ON 1. Try building for just one light (One Led) Consider how outdoor lights switch on automatically in the evening, and switches off in the morning. Forever (Forever makes the code repeat.) If light intensity is less than 10, Outdoor lights (led 3) will switch on Else Outdoor lights (led3) will switch off

2. How would we work on the flashing lights? Forever (Forever makes the code repeat.) If light intensity is less than 10, Outdoor lights (led 1) will switch on Delay (500) Outdoor lights (led1) will switch off Outdoor lights (led2) will switch on Delay(500) Outdoor lights (led2) will switch off Else Outdoor lights (led1) will switch off Outdoor lights (led2) will switch off