Hi guys,
Im having trouble using the analog port. Regarding the analog port A, is it supposed to output high (approx 4.8V) when its not connected to anything ? I have set trisa=%111111.
Ive programmed everything else correctly (I think), after reading some good guides on programming for port A.
The problem is I have a photodiode which has open circuit voltage of 0.25V but when I connect it to channel 0 it jumps to 0.40V for some reason. The Vref+ is set to 2.5V.
Thanks all.
edit: I suspect that something is wrong with my port A. How do i check ? Anyone have a working test code ? Im also testing it now ..
Bookmarks