if i use a PIC16F877A, then i use potentiometer to control the voltage sending in to the input of the PIC from 0 - 5v..then in programming, what can it detect? is shows in digital what form? example if i vary 2.5v, then in programming what should i write?