Use an LED as a Sensors
Michael Beyhs has a new site called Electrical Engineering and More, his first project shows us how to Use an LED as a Sensor. LEDs are normally used to produce light but like many other electrical items it works a bit in the other direction, meaning that it will produce a small voltage when you shine light into it. “How the code works: Configure all analog inputs to outputs