This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

How to printing double type variable at SEGGER_RTT_printf?

Hi, all.

I'm using "SEGGER_RTT_printf" for debugging. Because have no uart port on my development board. I want print double type variable like below.


double pi = 3.141592;

SEGGER_RTT_printf(0, "print double type : %lf\n", pi);


But print result is nothing. What can i do for using it?

Please kindly guide.

Related