Hi I have done a temperature display using LM35 & it worked.
I just right justify & read the ADRESL.
Ex: If the room temperature = 25C then it’s giving 51.2 steps.
So this is the ADRESL value, when I divide by 2 its showing the room temperature.
That’s fine it’s working.
What I need is I need to add a decimal point to this final temperature.
When I divide the AD result steps its always giving a round value.
I need temperatures like this 25.2, 25.3, and 25.4 etc……..not like 25, 26, and 27.
I just right justify & read the ADRESL.
Ex: If the room temperature = 25C then it’s giving 51.2 steps.
So this is the ADRESL value, when I divide by 2 its showing the room temperature.
That’s fine it’s working.
What I need is I need to add a decimal point to this final temperature.
When I divide the AD result steps its always giving a round value.
I need temperatures like this 25.2, 25.3, and 25.4 etc……..not like 25, 26, and 27.