cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 5, 3 & 1 MCU

Anonymous
Not applicable

How can print float valves and also square and square root functions.is there any library to get those functions to work.

0 Likes
Reply
1 Reply
Esteemed Contributor

Use sprintf() to convert float to char string and then UART, USB/UART to

   

terminal. Attached formatting string info for use in sprintf().

   

 

   

Extended math libraries - http://www.cypress.com/knowledge-base-article/using-math-functions-psoc-creator-psoc-4-or-psoc-5lp-g...

   

 

   

http://www.keil.com/pack/doc/CMSIS/DSP/html/index.html

   

 

   

Regards, Dana.

0 Likes
Reply