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 email@example.com
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>
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
i have 5110.c and .h file can you show
that file work on Psoc 3.0 creater
Here is a program that shows how to use the sprintf() commands. It is setup for Psoc 5lp and is running on PSoC Creator 3.3 CP2 (220.127.116.1143).
Here is the program using a CY8Ckit-049-42xx.
Up date your PSOC Creator to the latest version as it makes support easier.
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 ?
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.