Demonstration of working of ADC with PIC16F877A