cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Visitor
Visitor
2,249 Views
Registered: ‎01-12-2010

how to print floating pt number on LCD using powerPC on ML403FX12.

How do I print a floating point C variable on LCD using PowerPC 440 on ML403FX12? I am able to print a integer and string using xil_printf. what do I need to use for printing a floating point number.
0 Kudos
1 Reply
Highlighted
Visitor
Visitor
2,243 Views
Registered: ‎11-02-2008

char ss[20]; 

sprintf(ss,"%f",varFloat);

 

you can write this string to LCD

 

 

TOM 

0 Kudos