logoalt Hacker News

PunchyHamstertoday at 12:02 AM0 repliesview on HN

I remember using similar trick to use LEDs to sense light. Basically, charge the (reverse biased) LED capacitance, then measure how long it takes to discharge. The lil circuit I had was LED bar, so I used it to sense finger position using that (other leds providing light, LED doing the sensing judging that light and comparing to rest