Without looking at the data sheet, my first guess would be that it has an open collector output and needs a pullup resistor as the result . . .Gotta love those data sheets.
Edit: Nope portA.4 is open drain. A.5 appears to be a standard I/O, maybe your PIC is damaged, maybe your breadboard is bad. Check the pin with your voltmeter directly on the pin itself.<br> http://www.kirlian-photography.com/video/PIC16F87XA.pdf
Last edited by Archangel; - 18th March 2008 at 17:35.
If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
.
Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
.
There simply is no "Happy Spam" If you do it you will disappear from this forum.
Bookmarks