Two ways to use an LED as a light sensor with Arduino · HackerTrans