i want to interface my pic 18f4520 with lcd to show the appropriate output according to my various input from ph sensor.my sensor maximum voltage value is 250mv and minimum will be 1/0mv.i want to display 99% if voltage value is 250mv and 1% if my input is 1mv.im using mplab ide with c18 compiler.please help me by sending the coding.