Arduino 将 String 转化为 int

Arduino 将 String 转化为 int

 

函数:toInt()

实例:

String my_str = "123";
int my_int = my_str.toInt();

 

posted @ 2019-10-28 16:33  GetcharZp  阅读(5930)  评论(0)    收藏  举报