kinetis design studio floating point implementation

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

kinetis design studio floating point implementation

469 Views
durgesh_singh88
Contributor I

Hi guys, i am using k60 microcontroller and kinetis design studio for my project, i am facing problem in displaying floating point data on the serial port, here i am using the processor expert(debug_printf), but that is not working.so i would like to ask is there a way to display floating point number on serial port using processor expert?#

Labels (1)
Tags (2)
0 Kudos
1 Reply

323 Views
mjbcswitzerland
Specialist V

Hi

Just sprintf() the floating point value to a char buffer[] and send it to the serial interface as you would send any string.

Regards

Mark

0 Kudos