LilyPad_LightSensorTrigger by sparkfun

This sketch is missing a short description
This example code reads the input from a LilyPad Light Sensor compares it to a set threshold named = 'dark'. If the light reading is below the threshold, an LED will turn on. For more info on the LilyPad Light Sensor see: [https://learn.sparkfun.com/tutorials/lilypad-light-sensor-hookup-guide](https://learn.sparkfun.com/tutorials/lilypad-light-sensor-hookup-guide).

Embed This Sketch

Use the following HTML code to embed the sketch code above in your blog or website.

<iframe style="height: 510px; width: 100%; margin: 10px 0 10px;" allowTransparency="true" src="https://codebender.cc/embed/sketch:189746" frameborder="0"></iframe>

Embed The Serial Monitor

You can also embed the Serial Monitor section! Just use this HTML code.

<iframe style="height: 510px; width: 100%; margin: 10px 0 10px;" allowTransparency="true" src="https://codebender.cc/embed/serialmonitor" frameborder="0"></iframe>