Piloting a temperature sensor LM335 with µc Pic16F877

Hello
I am working on a project what include a µc Pic 16F877, a Temperature sensor LM335 and an 2×16 LCD displays, I have used some suggested code from internet but the values are not stable some time is displayed right and other no hi show a sequences with {27,81,65,26,81,66,27,….} and is still unstable, can anyone give me some example for a previous projects?
Here is my code is with pictures compiler.
