Hi,
Please check the attachment, it was modified from KL25' demo code, and can printf floating point number in 6 bit precision, also you can change it by adjusting the parameter-precision=n. !
Wish it can help you.
Have a great day,
Ping
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------