Quote Originally Posted by skimask View Post
Because you've got digital signals going into a port configured for analog input...
with 16f876a i use ra0-ra1-ra2-ra5 as analog and ra3-ra4 as digital , and with those configurations work very well.But with 16f877a not.