Arduino 将 String 转化为 int
函数:toInt()
实例:
String my_str = "123"; int my_int = my_str.toInt();
原文:https://www.cnblogs.com/GetcharZp/p/11753237.html