feat: user pin-config data & button lib

This commit is contained in:
fsender
2024-10-28 05:42:15 +08:00
parent 86de2fb12a
commit b8d7310236
13 changed files with 163 additions and 51 deletions

View File

@@ -88,6 +88,7 @@ void setup(){
//这些服务器响应回调函数会打包进入初始化参数列表中.
//上方的字符串可以在用户访问主页时, 显示在主页的第二行.(作为通知显示, 但并不是通知)
guy.println("名称:readguy 密码:12345678");
guy.println("连接后浏览器访问: 192.168.4.1");
guy.display();
}
void loop(){

View File

@@ -55,9 +55,9 @@
ReadguyDriver guy;//新建一个readguy对象, 用于显示驱动.
extern const uint8_t ctg_wqy9pt_chinese1[]; //声明中文字体文件
extern const uint8_t ctg_u8g2_wqy12_chinese1[]; //声明中文字体文件
const lgfx::U8g2font cn_font(ctg_wqy9pt_chinese1); //U8G2格式中文字体转化为LGFX格式字体
const lgfx::U8g2font cn_font(ctg_u8g2_wqy12_chinese1); //U8G2格式中文字体转化为LGFX格式字体
void setup(){