- 博客(3)
- 资源 (6)
- 收藏
- 关注
原创 arduino中u8g2汉字显示总结
arduino中u8g2汉字显示总结一,下载U8G2库并加载二,转换要显示的汉字为UNICODE码,如 “狡猾的日本鬼子”三,将“\u72e1\u733e\u7684\u65e5\u672c\u9b3c\u5b50”中的“\u”改为",$"修好为:32-128,$72e1,$733e,$7684,$65e5,$672c,$9b3c,$5b50,四,保存为ch1.map文件五,找到\tools\font\bdfconv下的bdfconv.exe,新建一个bat文件六,粘入内容并保
2021-04-06 17:14:29
4287
3
原创 arduino中如何将 IPAddress转换为string类型,Wifi.localIP()转换为String
arduino中如何将 IPAddress转换为string类型,将Wifi.localIP()转换为字符串,方法为先转换IPAddress为a String,然后获取const char *并将其转换为std::string。ipadd1 = WiFi.localIP().toString().c_str();
2021-03-08 16:42:40
7788
3
原创 Arduino字符串操作函数
String是最新加入arduino的,如果你看到以下代码:char oldString[]=“this is a character array”;这个是C风格的如果是这样的:String newString=“this is a string object”;这个是arduino Strings。要把C风格转换成arduino风格,只需要把数组内容赋值给String就可以了:char oldString[]=“I want this character array in a String
2021-03-07 10:34:30
8356
2
TTGO ESP8266+ssd1306oled模块的显示例程,已修改正确连接设置,显示速度极快
2021-03-08
ESP8266通过网页智能web配网,登陆国内NTP网络授时,SSD1306OLED显示的Arduino例程
2021-03-07
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人