michel qunica

HOW TO send FLOAT value through SCI and display out in hyperterminal

Discussion created by michel qunica on Dec 15, 2007
Latest reply on Jul 9, 2010 by Ashkan Ziabakhshdeylami
I need the MCU to calculate some float(or double) value then send this value to PC through SCI.
e.g.   float val0=13.2592;
I want to SEE 13.2592 on PC in windows hyperterminal screen.
There are many such float values need to send to PC one bye one quickly.
 
The problem is I don't know how to write a program to send such float number to PC and display them as numbers not the hex like 0x3h 0x2a 0x43 0x11.
 
Anyone knows how to work it out please help me.
Regards,
popup

 

 

Regards,
popup

Outcomes