arduino float 转 string可能遇到的问题

2020-06-01  本文已影响0人  剑山

首先是arduino里面是没有double的。。。。。。。

然后就是arduino的sprintf是不能格式化%f的,结果会是?。。。

所以如果你想float转string的话,可以试试dtostr()。

上一篇 下一篇

猜你喜欢

热点阅读