I have use the 16f876a for a frequency meter (base on AN592), and works fine.
Yesterday i test the same programm with 16f877a but not work and i don't why.
My configuration is:
' PIC16F877A
' Xtal 4MHZ
CMCON = 7 ' PortA = digital I/O
ADCON0 = %11100001
ADCON1 = %10000000
TRISA = %11111111
The same configuration work with 16F876A.
Bookmarks