Program for ADC in PIC16F877A