ChibiOS Free Embedded RTOS
ChibiOS Web Boards
https://forum.chibios.org/
print double with chprintf
https://forum.chibios.org/viewtopic.php?t=2435
Page
1
of
1
print double with chprintf
Posted:
Mon Feb 16, 2015 10:52 am
by
nikhil
Hello,
Can print double using chprintf ?
Or is there any other way to do this?
--
Nikhil
Re: print double with chprintf
Posted:
Mon Feb 16, 2015 11:43 am
by
Giovanni
Hi,
Only the float type %f is currently supported, you may use the compiler-provided printf().
Giovanni
Re: print double with chprintf
Posted:
Tue Feb 17, 2015 6:16 pm
by
nikhil
snprintf worked with "%lf".
Thanks.
--
Nikhil