Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

How to display a rounded values of data read from DS18B20 in 12bit mode?

Status
Not open for further replies.

markdem

Member level 3
Joined
May 16, 2006
Messages
58
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,830
Hi All, i am reading a DS18B20 in 12 bit mode, and it is working ok. As i am not too good with maths, I cant work out how i can display a nice round number after the decimal point. In other words i would like it to display .1 to .9 insted of .0625, .1250, .1875... Can any one help me??

thanks, Mark
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top