For an 877A, you only need one of those lines, but with a different value.
ADCON1 = 7
CMCON=7 ; already 7 on power-up
ADCON0=0 ; already 0 on power-up
CVRCON=0 ; already 0 on power-up
CCP1CON=0 ; already 0 on power-up
For an 877A, you only need one of those lines, but with a different value.
ADCON1 = 7
CMCON=7 ; already 7 on power-up
ADCON0=0 ; already 0 on power-up
CVRCON=0 ; already 0 on power-up
CCP1CON=0 ; already 0 on power-up
DT
Bookmarks