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.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-05-26 6:15 AM
This discussion is locked. Please start a new topic to ask your question.
3 REPLIES 3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-05-26 7:43 AM
You hjave tp provided these functions or use a framework that provides these function.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-05-26 9:00 AM
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..
Up vote any posts that you find helpful, it shows what's working..
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-05-26 1:35 PM
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 Scanf
