sscanf转浮点不太好用?试试atof吧!
为什么不好用呢,因为sscanf在arduino的库函数中不支持读取%f
The avr_libc documentation (avr-libc: AVR Libc 3) says that floating point support is optional. It sounds like the Arduino libraries do not include that option.
sscanf转浮点不太好用?试试atof吧!
为什么不好用呢,因为sscanf在arduino的库函数中不支持读取%f
The avr_libc documentation (avr-libc: AVR Libc 3) says that floating point support is optional. It sounds like the Arduino libraries do not include that option.