Potentiometer output formulaized using PIC16F877A microcontroller and MikroC for PIC. #electronics