Yes, i mean that article. I changed microcontroller in the MikroC project, also i changed //CMCON = 0x07; // To turn off comparators for PIC16F877
and insert C1ON_bit = 0; C2ON_bit = 0; // Disable comparators for PIC16F887 and ANSEL = 0x04; ANSELH = 0; // Configure AN pins as digital I/O for PIC16F887. But nothing. Could you have a look at my code