Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
05/22/05 06:58
Read: times


 
#93705 - Conversion Help Please!!
Dear 8052 Community,

I have built a digital thermomter using AT89C52. I have to display the temp on a LCD. The ADC is 10 bits and after coversion routines, i get the hex equivalent of temperature as 368. Now 368 is to be diplayed as 3.406 on LCD. .406 is got as follows:
6/16 = 0.375
8/256= 0.031
Adding 0.375 + 0.031, we get 0.406

Please guide me as to how to do this conversion in C51.
Thanks for all the Help.

Regards,
Ananya

List of 2 messages in thread
TopicAuthorDate
Conversion Help Please!!            01/01/70 00:00      
   What is the range of temperature ?            01/01/70 00:00      

Back to Subject List