I hope for that inbuilt library, it will definitely. But I just want to know what is the problem here and to fix it. Meantime I tried with UART,but surprising I got output correctly in simulation (Proteus) while in case of hardware,I'm getting but the value is not updated right from the starting. It gives correct reading at the very beginning and it keep on giving that one only. I've attached the pics of those as follows.
PS:Still LCD is not working,by the way,I'm worried about it