cancel
Showing results for 
Search instead for 
Did you mean: 

I'm new to arm,so forgive me for asking this question. I wrote a program to display text and integers and FLOATS on a LCD. I just can't display the floats.I tried sprintf and printf to no avail. Please help solve this issue.Thanks.

LAmat
Associate
 
3 REPLIES 3
Uwe Bonnes
Principal II

You hjave tp provided these functions or use a framework that provides these function.

Some of the GNU/GCC​ chains provide a function reduced library which doesn't support floats. Review project settings for a check box item referring to printf or floats.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
T J
Lead

there is a switch when you start a project,

select:

NewLib-Nano with floating point support in printf

not NewLibNano with floating point support in Printf and Scanf0690X000008wPa6QAE.jpg