Microcontroller › 8051 › Please help in reading digital output of IR sensor › Hi Mach, I understood that
June 1, 2012 at 5:38 pm
#7949
Participant
Hi Mach,
I understood that you’ve displayed a value on the lcd screen which is the voltage you are getting from the analog pin of your IR sensor. The same can’t be done with your digital pin, as the digital pin basically have only two voltages, one for logic0 and other for logic1.
I’ve little idea about the sensor you are using, please share the part number or a link to the datasheet.