- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello everyone
someone could help me with a question about creator 3.1
to print a float variable in the LCD creator 3.0 is used the
-u_printf_float in the settings window
but this does not work in crator help as 3.1 prodría algien
I can fix this.
Thank you for your help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please check in project -> Build Settings -> Linker
Use newlib nano TRUE
Use newlib-nano Float Formatting TRUE
Then a sprintf(Buffer,"%f",3.1416") should work
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
These might help -
http://airsupplylab.com/index.php/learn/14-psoc5/9-psoc-floating-point-problem-in-psoc-creator-3 nano library enable
http://www.cypress.com/?id=4&rID=87354 nano library enable
The heap and stack size were reduced in 3.1, try restoring to 3.0 levels 4K and 16K respectively.
3.1 default settings are now 128 bytes and 2K. (depends on part used)
System tab in xxxxx*.cydwr file, workspace explorer near the top.
Regards, Dana.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hello goodnight
First, thank you very much for your help.
troubleshoot by following the instructions
but unfortunately I have not managed to solve.
creator am using 3.0 connection while not cuante with this problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Post you project.
Also consider updating Creator to 3.2 SP3, many bug fixes and
enhancements since your version.
Consider posting your project, makes life easier to troubleshoot.
“File” Creator
“Create Workspace Bundle”
Regards, Dana.