Quote Originally Posted by Melanie View Post
Stop messing with ADCON1. If it worked for the 877 it'll work for the 'A'.

Just deal with CMCON and CVRCON.
Will do I just wanted to double check myself making sure I had that set correctly which it's apparent I do.

By default it looks like according to the 16F877A (I just downloaded the correct data sheet) that CVCRON by default is off so I need'nt worry about that correct?


You might have some issue with winpic software. If I remember correctly, there's a slight difference in the programming between 16F877 and 16F877A.

Make sure winpic support the A version or you select it before programming your PIC, and try to do a programming check.
I checked to make sure both microstudio and winpic have the 877A listed and made sure they were selected when I compiled and uploaded. FYI. WinPic auto detected the 877A and set itself.

Thanks all

David