I'm trying to connect an RPR220 Photodiode to my Arduino 2560, and generate interrupts to change an LCD screen. The LCD changing code works (go here for code:https://www.avrfreaks.net/index.p...), all I changed was the circuit, so that instead of a button switch it has the photodiode. The only thing I have been able to find is this: http://blog.rohm.co.jp/entry/200.... It says to connect to an analog pin - I have mine connected to a digital pin. So my question is, can this work with a digital pin or must I use an analog pin?
Joined: Thu. Feb 17, 2011
Posts: 29 View posts