LEDs as sensors, newbie needs help!

A pretty ill concieved and ill considered bit of ppoor opinion if ever I have seen one
Everyone learns first by following example and then with experience experimenting to push the envelope a bit further.

Despite my normally impeccable judgement, strangely, I find myself agreeing with tyTower.