Sprintf error with mbed

Screenshot 2024-06-05 220426
I want to send the float-type-data on BufferedSerial with sprintf,but found the mistake parasing โ€œ%fโ€.How can I solve the problem ?Is it a bug in mbed? Can I choose another method to do the same job?
WHY ? :sob: :sob: :sob: :sob: :sob:


I do not know how familiar you are with Mbed but it is not a bug. It is default settings because of memory footprint and for change this you need to read this - mbed-os/platform/source/minimal-printf at 869f0d708aa5ead2583016a245ffa6d569031032 ยท ARMmbed/mbed-os (github.com)

BR, Jan

1 Like

I am definately new to mbed :joy:,the doc really helps a lot,thanks