Pedro Zorzenon Neto <[email protected]> writes:

>    f = 1.54;
>    sprintf(s,"%f",f);

There are two problems:

1. Avoid sprintf and use snprintf instead.

2. AFAICT, the s(n)printf implementation in msp430-libc does not
   support floating point.


Regards,
   --Daniel


Reply via email to