创客百科

姿势共享,有节操无门槛参与的创客百科,创客动力之源 \ (^_^) /

用户工具

站点工具


arduino:language:serial_parsefloat

Serial.parseFloat()

描述

Serial.parseFloat()命令从串口缓冲区返回第一个有效的浮点数. Characters that are not digits (or the minus sign) are skipped. parseFloat() is terminated by the first character that is not a floating point number.

Serial.parseFloat()继承了Stream类。

语法

Serial.parseFloat()

参数

返回

float

本页面的其他翻译:
arduino/language/serial_parsefloat.txt · 最后更改: 2016/12/25 22:15 (外部编辑)