Quote Originally Posted by lerameur View Post
but I am getting zero as output now.
Is it the hardware or the programming ?
I posted a new pic.
http://www3.sympatico.ca/lerameur/

ken
Picture show you have both input connected to same place (ref. diode), resistor divider left unconnected.