not familiar with that pic, but RA0 is shared with an analogue comparator, and the pin defaults to analogue so probably worth slapping in an...
CMCON = 7
to turn the comparator module off. (http://www.svetelektro.com/upload/16F628A.pdf page 64 upper right box)




Bookmarks