Hello !
Please take my answer with a grain of salt, because I am EXTREMELY new with these chips. My knowledge is extremely limtied. But I think (Please someone correct me if I am wrong, and tell me why) you may have to change your TRISCIO value to somethign else...
Yours->>TRISIO=%10000000
I *think* the new one should be:
TRISCO=%00001010 to make your IO port 1 a AD instead of a input/output.
Dwayne (sorry if I am in error)
Bookmarks