No. I did not used division codes in my program. I just found out that the pic16f917 can read the analogue voltage from the humidity sensor.I can manually compute the humidity value using this formula: %RH = ((Vout/5)-0.16)/0.0062 But now I'm having problem with the Vout from the humidity. Since the Vout value are not steady,the output value from ADC displayed on the LCD keeps fluctuating up and down (random numbers from 0-255). By the way,I'm using this formula to compute the value that are displayed on the LCD = (Vout/5)*255. So now I'm planning to make the ADC to read one value at an interval times and convert it but do not know how to do this. Someone told me to use sample-and-hold,other told me to use RC circuit.I have a very little knowledge on these terms and usage. Anyone can help me on this?