Hi,
Without looking at the PIC's datasheet I think that the problem might be with the following line
ADCON1 = 255 ' Make everything digital (no analog)
Don't you need to define PORTA.0 as analog?
Robert
Hi,
Without looking at the PIC's datasheet I think that the problem might be with the following line
ADCON1 = 255 ' Make everything digital (no analog)
Don't you need to define PORTA.0 as analog?
Robert
"No one is completely worthless. They can always serve as a bad example."
Anonymous
Bookmarks