- 博客(2)
- 收藏
- 关注
转载 Arduino串口函数详解(转载)
本文总结了Arduino常用串口操作函数,函数说明部分来源于Arduino 官网串口使用指南,示例与实验部分为自编。本文是对Arduino串口操作函数的较全面总结,可作为工具贴查找使用。1.串口设置Serial.begin();说明开启串口,通常置于setup()函数中。语法Serial.begin(speed);Serial.begin(speed,config);参数speed: 波特率,一般取值300, 1200, 2400, 4800, 9600, 14400, 19200, 28
2021-08-10 12:20:09 4244
转载 Arduino String.h库函数详解(转载)
此库中包含1 charAT()2 compareTo()3 concat()4 endsWith()5 equals()6 equalslgnoreCase()7 getBytes()8 indexOf()9 lastlndexOf()10 length()11 replace()12 setCharAt()13 startsWith()14 substring()15 toCharArray()16 toInt()17 toLowerCase()18 toUpperCa
2021-08-10 11:46:06 847
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人