Psoc 4 BLE UART problem

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

Please suggest me to display float valves using Uart in PSoc 4 BLE .

0 Likes
1 Solution
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Welcome in the forum!

   

Several steps needed:

   

In Project -> Build settings set Use newlib-nano and use newlib-nano float formatting to TRUE.

   

In .cydwr -> System make sure that heap is at least 0x0100

   

Best practice is to use sprintf() and then send the buffer to the UART.

   

 

   

Happy coding

   

Bob

View solution in original post

0 Likes
1 Reply
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Welcome in the forum!

   

Several steps needed:

   

In Project -> Build settings set Use newlib-nano and use newlib-nano float formatting to TRUE.

   

In .cydwr -> System make sure that heap is at least 0x0100

   

Best practice is to use sprintf() and then send the buffer to the UART.

   

 

   

Happy coding

   

Bob

0 Likes