- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
i have nokia 5110lcd and Psoc 4100 prototype , My Creater is Psoc 3.0 Creater
than I can print that command use : LCD_string("any word");
but i cant print float, decimal etc ... same one help me that problem
my mail is toogoo369@yahoo.com
Solved! Go to Solution.
- Labels:
-
PSoC 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Welcome in the forum!
No need to present your email address here, I suggest you to delete it.
To print floats use the sprintf() function which will convert a float into a string. Some prerequisites:
Update to PSoC Creator 3.0 from Cypress website
In the view of the .cydwr file, "System" tab: set the "heap size" to 0x0200
In Project -> Build Settings -> Linker set use newlib-nano float formatting to "true"
in your main.c add a #include <stdio.h>
Happy coding
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Welcome in the forum!
No need to present your email address here, I suggest you to delete it.
To print floats use the sprintf() function which will convert a float into a string. Some prerequisites:
Update to PSoC Creator 3.0 from Cypress website
In the view of the .cydwr file, "System" tab: set the "heap size" to 0x0200
In Project -> Build Settings -> Linker set use newlib-nano float formatting to "true"
in your main.c add a #include <stdio.h>
Happy coding
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi thanks for answer me
i am beginner so i not good your advice , i think first i follow example project on Psoc3.0 creater and Psoc 4 CY8CKIT-049-42xx board
so can you help me to give 5110.c 5110.h and printf (float ...) etc
- 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
that file work on Psoc 3.0 creater
- 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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Up date your PSOC Creator to the latest version as it makes support easier.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
should i update Psoc3.0 became to 3.3 CP2 ? After that archive02 file will work on Psoc3.3 CP2 ? So Do i dont need other bootloadable.hex file from using now ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You need recompile the SCB_bootloader.cwrk file after you update to Psoc Creator 3.3 CP2 that way you will have the correct files for the bootloadable dependencies . You should also install all of the kit files you intend to use. Make sure your other files are updated also such as the PsocProgrammer is updated also.