We set up the lilypad to be able to sense the difference in light values with a light sensor. We found that the max is a range of 162- 164 and its minimum value (no light) is 0. The S petal is connected to an analogue port.
The range we set in the argiblocks code is from 0 – 99 as the no light to dim frequencies the LED would be set to turn on, and 100 – 200 for the max light range. Below is the Youtube video constructed by us to show the sensor sensing the differences is light values.