kinetis design studio floating point implementation

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

kinetis design studio floating point implementation

985 次查看
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?#

标签 (1)
标记 (2)
0 项奖励
回复
1 回复

839 次查看
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 项奖励
回复