LilyPad_LightSensor_AutoThreshold by angela.sheehan

Cloned from Sketch LilyPad_LightSensorTrigger by angela.sheehan

This sketch is missing a short description
Example code for Using the LilyPad Light Sensor Tutorial from SparkFun. Automatically take a reading of ambient light upon start up (or reset) and trigger LEDs when light reading drops below the initial threshold reading.

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:136706" 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>