A quick look would suggest you could add
ANSEL = 0
to the code in post #4 here and be up and running. (You would still need to set TRISA accordingly for those pins)
http://www.picbasic.co.uk/forum/show...ighlight=16f88
UPDATE: In fact, the ANSEL=0 would not be needed because RA6 and RA7 are never analog - should work as posted in #4
Bookmarks