This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

printf太大了,有没有代替的好方法?



printf函数太大了,一个能显示float的大约到6~7K,类似于g2553之类的单片机总共才16K。

如果需要类似的功能,又需要小数的输出,怎样做才使得程序空间占用少呢?