静夜思

唐·李白

床前明月光,疑是地上霜。

举头望明月,低头思故乡。

qsbye的备份博客

产品简介

[https://r68s.cn]

登录后台

192.168.100.1
账户名:root
密码:password

修改默认用户名和密码

系统->管理权
密码qs********
保存&应用

优化网络

网络->Turbo ACC网络加速
开启DNS缓存

保存&应用

BBR拥塞控制算法

[https://zhuanlan.zhihu.com/p/469291099]
在数据通信中,流量控制是管理两个节点之间数据传输速率的过程,以防止快速发送方压倒慢速接收方。
它为接收机提供了一种控制传输速度的机制,这样接收节点就不会被来自发送节点的数据淹没。

DNS缓存

启用 DNS 多线程查询、缓存,并防止 ISP 的 DNS 广告和域名劫持
PDNSD解析
[https://wdicc.com/use-pdnsd-cache-you-dns-record/]
打开一个网页有时候 dns 查询就占了一些时间,如果想把这个时间也节省下来,那可以试试看这个。类似的软件还有 dnsmasq,我觉得 dnsmasq 没 pdnsd 灵活一点,反正基本的缓存功能肯定是都有的。。。我这还有同事用 bind 做缓存,呵呵,选什么看各自喜好了。

全锥形NAT

[https://zhuanlan.zhihu.com/p/414741262]
所有从同一个内网的(IP,端口)发送出来的请求都会被映射到同一个外网(IP,端口),且任何一个外网主机都可以通过访问映射后的公网地址,实现访问位于内网的主机设备功能。
外网主机可以主动连接内网主机。
该类型NAT只与源IP和源端口相关,只要(源IP,源端口)相同则可以通过映射后的(公网IP,端口)访问任意网站,因此称之为全锥形NAT. 有点类似于静态NAT

备份设置

系统->备份/升级

登录网页终端

总结

至此,内网:
光猫->r66s软路由->ASUS TUF-AX5400路由器

预期效果



电源线

大4pin(大4D)

参数:5.08mm间距

引脚定义

SATA 7针部分

SATA 15针部分

硬盘电源参数


功率计算公式

仿真环境搭建

  1. 添加地面
  2. 添加灯光或背景
  3. 添加其他环境物体及机器人

    控制器编程步骤

  4. 实例化机器人
  5. 将变量与模型中的设备关联起来
  6. 使能传感器
  7. 设置电机运行模式
  8. 运动循环

普中科技51开发板实验

Mac搭建51开发环境

1.安装CH340驱动(www.wch.cn)
2.安装sdcc(交叉编译器)
brew install sdcc
3.安装烧录工具stcgal
sudo pip3 install stcgal
4.插入usb口,查看设备串口号
ls /dev/tty.wchusbser*
5.编写代码,编译
插一句:普中开发板原理图在www.prechin.net下载,原理图可以找到引脚的对应关系
cd 代码目录
sdcc xxx.c
文件夹示意
6.烧录
stcgal -P stc89 -p /dev/tty.wchusbserialxxxxxxx xxx.ihx(上一步生成的文件)
按一下电源键(按reset键没用)
命令行显示

Switching to 19200 baud: checking setting testing done
Erasing 2 blocks: done
Writing flash: 640 Bytes [00:00, 1810.19 Bytes/s]
Setting options: done


7.附录:测试例程(提供的是二进制文本,保存为.bin文件直接烧录即可)(LED闪烁)
******文件名:template.bin
70 69 00 FF 26 43 35 31 20 22 6D 61 69 6E 2E 63 22 20 42 52 4F 57 53 45 20 44 45 42 55 47 20 4F 42 4A 45 43 54 45 58 54 45 4E 44 00 00 8F 15 CC 60 08 6D 61 69 6E 2E 4F 42 4A 01 00 CB B9 87 60 06 6D 61 69 6E 2E 63 02 00 CD 02 EF 5D 1D 44 3A 5C 59 5A 5C 4B 45 49 4C 43 35 31 5C 43 35 31 5C 49 4E 43 5C 52 45 47 35 32 2E 48 36 70 6C 00 FF 13 42 4C 35 31 20 40 74 65 6D 70 6C 61 74 65 2E 6C 6E 70 20 00 00 90 15 CC 60 08 74 65 6D 70 6C 61 74 65 03 00 8F 15 CC 60 0C 74 65 6D 70 6C 61 74 65 2E 6C 6E 70 04 00 8F 15 CC 60 08 6D 61 69 6E 2E 6F 62 6A 04 00 A8 37 83 4B 1E 44 3A 5C 59 5A 5C 4B 45 49 4C 43 35 31 5C 43 35 31 5C 4C 49 42 5C 43 35 31 53 2E 4C 49 42 DD 02 08 00 04 4D 41 49 4E FF 00 CE 10 07 00 00 04 4D 41 49 4E C0 24 0B 00 00 00 00 06 4D 41 49 4E 2E 43 35 22 13 00 00 00 00 00 00 05 0B 5F 49 43 45 5F 44 55 4D 4D 59 5F 41 20 14 00 23 0B 00 20 01 00 06 00 05 06 74 65 6E 5F 75 73 23 0B 21 8F 22 66 00 01 00 02 A0 00 03 02 50 32 00 04 A0 00 01 04 4C 45 44 31 00 02 A8 00 03 02 49 45 00 02 B8 00 03 02 49 50 00 02 D8 00 03 04 43 43 4F 4E 00 00 03 00 20 04 6D 61 69 6E 00 02 98 00 03 04 53 43 4F 4E 00 02 88 00 03 04 54 43 4F 4E 00 00 23 00 22 0B 5F 64 65 6C 61 79 5F 31 30 75 73 00 02 D0 00 03 03 50 53 57 69 10 0E 00 02 0B 5F 44 45 4C 41 59 5F 31 30 55 53 9F 22 0E 00 00 00 02 06 00 05 06 74 65 6E 5F 75 73 2F 06 0F 00 00 23 00 EF 1F AC 06 70 01 1E 4C 70 F6 22 A5 22 16 00 03 00 23 00 14 00 00 23 00 15 00 00 23 00 16 00 00 2D 00 17 00 D9 10 0E 00 05 0B 5F 44 45 4C 41 59 5F 31 30 55 53 9C 10 07 00 02 04 4D 41 49 4E BE 06 18 00 00 03 00 C2 A0 7F 50 7E C3 12 00 23 D2 A0 7F 50 7E C3 12 00 23 80 EC 15 22 2F 00 03 00 03 00 1F 00 00 03 00 20 00 00 03 00 21 00 00 03 00 22 00 00 03 00 23 00 00 05 00 24 00 00 0C 00 25 00 00 0E 00 26 00 00 15 00 27 00 2E 10 07 00 05 04 4D 41 49 4E BB 10 07 00 03 04 4D 41 49 4E BD 60 34 00 00 02 01 00 07 00 00 00 08 00 00 05 69 64 61 74 61 05 78 64 61 74 61 05 70 64 61 74 61 04 64 61 74 61 04 63 6F 64 65 05 65 64 61 74 61 05 68 64 61 74 61 E4 61 0E 00 CB B9 87 60 01 00 06 6D 61 69 6E 2E 63 E9 61 25 00 CD 02 EF 5D 02 00 1D 44 3A 5C 59 5A 5C 4B 45 49 4C 43 35 31 5C 43 35 31 5C 49 4E 43 5C 52 45 47 35 32 2E 48 37 62 0A 00 01 00 00 00 04 6D 61 69 6E EA 63 0D 00 08 00 05 00 11 00 01 00 01 00 00 00 70 64 35 00 03 00 00 00 02 00 01 00 1F 00 00 00 00 00 00 00 E8 C8 4B 00 03 00 01 00 24 00 00 00 00 00 00 00 04 00 00 00 03 00 01 00 26 00 00 00 00 00 00 00 04 00 00 00 ED 62 08 00 01 00 00 00 02 75 38 E6 63 0D 00 40 00 00 00 03 00 00 00 01 00 00 00 4C 64 15 00 01 00 00 00 02 00 01 00 0A 00 00 00 00 00 00 00 FF FF FF FF 7D 62 0A 00 01 00 00 00 04 4C 45 44 31 89 63 0D 00 02 00 04 00 01 00 03 00 01 00 00 00 85 64 35 00 03 00 00 00 02 00 01 00 0C 00 00 00 00 00 00 00 FF FF FF FF 01 00 01 00 23 00 00 00 02 00 00 00 FF FF FF FF 01 00 01 00 25 00 00 00 02 00 00 00 FF FF FF FF 11 62 0C 00 01 00 00 00 06 74 65 6E 5F 75 73 FD 63 0D 00 02 00 04 00 05 00 00 00 01 00 00 00 84 64 25 00 02 00 00 00 02 00 01 00 14 00 00 00 00 00 00 00 FF FF FF FF 01 00 01 00 16 00 00 00 03 00 00 00 FF FF FF FF 4B 62 10 00 01 00 00 00 0A 64 65 6C 61 79 5F 31 30 75 73 CC 63 0D 00 08 00 05 00 11 00 01 00 01 00 00 00 70 64 55 00 05 00 00 00 02 00 01 00 14 00 00 00 00 00 00 00 E8 C8 4B 00 01 00 01 00 24 00 00 00 00 00 00 00 E8 C8 4B 00 04 00 01 00 24 00 00 00 00 00 00 00 00 00 00 00 01 00 01 00 26 00 00 00 00 00 00 00 E8 C8 4B 00 04 00 01 00 26 00 00 00 00 00 00 00 00 00 00 00 98 62 09 00 01 00 00 00 03 75 31 36 B5 63 0D 00 40 00 00 00 05 00 00 00 01 00 00 00 4A 64 25 00 02 00 00 00 02 00 01 00 09 00 00 00 00 00 00 00 FF FF FF FF 01 00 01 00 14 00 00 00 00 00 00 00 FF FF FF FF 5B 62 0E 00 01 00 00 00 08 5F 72 65 67 35 31 5F 48 DD 63 0D 00 01 00 00 00 00 00 00 00 01 00 00 00 8E 64 15 00 01 00 00 00 02 00 02 00 02 00 00 00 00 00 00 00 FF FF FF FF 84 06 07 00 00 00 00 02 00 17 DA 06 10 00 00 17 00 78 7F E4 F6 D8 FD 75 81 07 02 00 03 2B 04 0A 00 04 4D 41 49 4E 00 00

1.需求
为后续制作桌面天气站准备,能够显示天气,室内温湿度,室外温湿度
2.要点
中文的显示,arduino uno较小的flash,中文字库需要按需剪裁
安装Adafruit_PCD8544库(NOKIA5110屏的驱动芯片)
3.代码
sketch_jan17a.ino

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
#include <SPI.h>
#include <Adafruit_GFX.h>
#include <Adafruit_PCD8544.h>
#define CLK 3
#define SDA 4
#define DC 5
#define CS 6
#define RST 7
Adafruit_PCD8544 display = Adafruit_PCD8544(CLK, SDA, DC, CS, RST);
#define NUMFLAKES 10
#define XPOS 0
#define YPOS 1
#define DELTAY 2
#include "font.c"
static const unsigned char PROGMEM logo16_glcd_bmp_hu[2][16]={{0x01,0x00,0x01,0xF8,0x01,0x00,0x3F,0xFC,0x21,0x04,0x21,0x60,0x2F,0x88,0x21,0x08},
{0x20,0xF8,0x20,0x00,0x23,0xE0,0x22,0x20,0x22,0x20,0x44,0x24,0x48,0x24,0x90,0x1C}};/*"虎",0*/
static const unsigned char PROGMEM logo16_glcd_bmp_nian[2][16]={{0x10,0x00,0x10,0x00,0x1F,0xFC,0x20,0x80,0x20,0x80,0x40,0x80,0x1F,0xF8,0x10,0x80},
{0x10,0x80,0x10,0x80,0xFF,0xFE,0x00,0x80,0x00,0x80,0x00,0x80,0x00,0x80,0x00,0x80}};/*"年",1*/
static const unsigned char PROGMEM logo16_glcd_bmp_zhou[]={0x10,0x04,0x10,0x84,0x10,0x84,0x10,0x84,0x10,0x84,0x54,0xA4,0x52,0x94,0x52,0x94,0x90,0x84,0x10,0x84,0x10,0x84,0x10,0x84,0x20,0x84,0x20,0x84,0x40,0x04,0x80,0x04};/*"州",0*/
static const unsigned char PROGMEM logo16_glcd_bmp_da[2][16]={{0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00,0xFF,0xFE,0x01,0x00,0x01,0x00},
{0x02,0x80,0x02,0x80,0x04,0x40,0x04,0x40,0x08,0x20,0x10,0x10,0x20,0x08,0xC0,0x06}};/*"大",0*/
static const unsigned char PROGMEM logo16_glcd_bmp_ji[2][16]={{0x01,0x00,0x01,0x00,0x01,0x00,0xFF,0xFE,0x01,0x00,0x01,0x00,0x01,0x00,0x3F,0xF8},
{0x00,0x00,0x00,0x00,0x1F,0xF0,0x10,0x10,0x10,0x10,0x10,0x10,0x1F,0xF0,0x10,0x10}};/*"吉",1*/
void testdrawbitmap(const uint8_t *bitmap, uint8_t w, uint8_t h,uint8_t xpos,uint8_t ypos) {
uint8_t icons[NUMFLAKES][3];
//前两个参数是位置
display.drawBitmap(xpos, ypos, bitmap, w, h, BLACK);
display.display();

}
void print_temputure(void){
Serial.print("开始打印温度");
display.clearDisplay();
//display.drawBitmap(16,16,&*font[9],16,16,BLACK);
display.setCursor(0,16);//好像没用
/**城市***/
testdrawbitmap((uint8_t*)&_font[16], 16, 16,0,0);//广
testdrawbitmap((uint8_t*)&_font[18], 16, 16,16,0);//州
/**温度***/
testdrawbitmap((uint8_t*)&_font[20], 16, 16,0,16);//温
testdrawbitmap((uint8_t*)&_font[24], 16, 16,16,16);//度
testdrawbitmap((uint8_t*)&_font[11], 8, 16,32,16);//+
testdrawbitmap((uint8_t*)&_font[2], 8, 16,40,16);//2
testdrawbitmap((uint8_t*)&_font[0], 8, 16,48,16);//0
testdrawbitmap((uint8_t*)&_font[14], 16, 16,56,16);//ºC
/***湿度****/
testdrawbitmap((uint8_t*)&_font[22], 16, 16,0,32);//湿
testdrawbitmap((uint8_t*)&_font[24], 16, 16,16,32);//度
testdrawbitmap((uint8_t*)&_font[7], 8, 16,32,32);//7
testdrawbitmap((uint8_t*)&_font[0], 8, 16,40,32);//0
testdrawbitmap((uint8_t*)&_font[13], 8, 16,48,32);//%
display.display();
}
void print_indoors(void){
Serial.print("开始打印温度");
display.clearDisplay();
//display.drawBitmap(16,16,&*font[9],16,16,BLACK);
display.setCursor(0,16);//好像没用
/**城市***/
testdrawbitmap((uint8_t*)&_font[35], 16, 16,0,0);//室
testdrawbitmap((uint8_t*)&_font[37], 16, 16,16,0);//内
/**温度***/
testdrawbitmap((uint8_t*)&_font[20], 16, 16,0,16);//温
testdrawbitmap((uint8_t*)&_font[24], 16, 16,16,16);//度
testdrawbitmap((uint8_t*)&_font[11], 8, 16,32,16);//+
testdrawbitmap((uint8_t*)&_font[2], 8, 16,40,16);//2
testdrawbitmap((uint8_t*)&_font[2], 8, 16,48,16);//2
testdrawbitmap((uint8_t*)&_font[14], 16, 16,56,16);//ºC
/***湿度****/
testdrawbitmap((uint8_t*)&_font[22], 16, 16,0,32);//湿
testdrawbitmap((uint8_t*)&_font[24], 16, 16,16,32);//度
testdrawbitmap((uint8_t*)&_font[8], 8, 16,32,32);//8
testdrawbitmap((uint8_t*)&_font[0], 8, 16,40,32);//0
testdrawbitmap((uint8_t*)&_font[13], 8, 16,48,32);//%
display.display();
}
void print_weather(void){
Serial.print("开始打印天气");
display.clearDisplay();
//display.drawBitmap(16,16,&*font[9],16,16,BLACK);
display.setCursor(0,16);//好像没用
/**城市***/
testdrawbitmap((uint8_t*)&_font[16], 16, 16,0,0);//广
testdrawbitmap((uint8_t*)&_font[18], 16, 16,16,0);//州
/****天气现象****/
testdrawbitmap((uint8_t*)&_font[30], 16, 16,0,16);//多
testdrawbitmap((uint8_t*)&_font[32], 16, 16,16,16);//云
display.display();
}
void print_huniandaji(void){
display.clearDisplay();
testdrawbitmap(*logo16_glcd_bmp_hu, 16, 16,16,16);
testdrawbitmap((uint8_t*)&logo16_glcd_bmp_nian[0],16,16,32,16);
testdrawbitmap((uint8_t*)&logo16_glcd_bmp_da[0],16,16,48,16);
testdrawbitmap((uint8_t*)&logo16_glcd_bmp_ji[0],16,16,64,16);
display.display();
}
void switch_light(void){
while(Serial.available()){
if(Serial.read()=='t'){
digitalWrite(2, HIGH);
}
else if(Serial.read()=='f'){
digitalWrite(2,LOW);
}
}
}
void setup() {
pinMode(2,OUTPUT);
// put your setup code here, to run once:
Serial.begin(9600);
Serial.println("PCD test");
display.begin();
display.setContrast(50);//对比度
display.display(); // show splashscreen
delay(2000);
display.clearDisplay(); // clears the screen and buffer
while(1){
//switch_light();
print_huniandaji();
delay(2000);
print_temputure();
delay(5000);
print_weather();
delay(5000);
print_indoors();
delay(5000);
}
}


void loop() {
// put your main code here, to run repeatedly:

}

font.c

PROGMEM
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
#include <avr/pgmspace.h>
#endif
/*PCtoLCD2002取模,设置顺序取模,逐行*/
//必须存放到"闪存"中,不然无法正确读取地址
const unsigned char PROGMEM _font[50][16]={
/*
0(0) 1(1) 2(2) 3(3) 4(4) 5(5) 6(6) 7(7) 8(8) 9(9) 0(10) +(11) -(12) %(13) ℃(14) 广(15)
州(16) 温(17) 湿(18) 度(19) 晴(20) 阴(21) 多(22) 云(23) .(24)
*/
{0x00,0x00,0x00,0x18,0x24,0x42,0x42,0x42,0x42,0x42,0x42,0x42,0x24,0x18,0x00,0x00},/*"0",0*/

{0x00,0x00,0x00,0x08,0x38,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x3E,0x00,0x00},/*"1",1*/

{0x00,0x00,0x00,0x3C,0x42,0x42,0x42,0x02,0x04,0x08,0x10,0x20,0x42,0x7E,0x00,0x00},/*"2",2*/

{0x00,0x00,0x00,0x3C,0x42,0x42,0x02,0x04,0x18,0x04,0x02,0x42,0x42,0x3C,0x00,0x00},/*"3",3*/

{0x00,0x00,0x00,0x04,0x0C,0x0C,0x14,0x24,0x24,0x44,0x7F,0x04,0x04,0x1F,0x00,0x00},/*"4",4*/

{0x00,0x00,0x00,0x7E,0x40,0x40,0x40,0x78,0x44,0x02,0x02,0x42,0x44,0x38,0x00,0x00},/*"5",5*/

{0x00,0x00,0x00,0x18,0x24,0x40,0x40,0x5C,0x62,0x42,0x42,0x42,0x22,0x1C,0x00,0x00},/*"6",6*/

{0x00,0x00,0x00,0x7E,0x42,0x04,0x04,0x08,0x08,0x10,0x10,0x10,0x10,0x10,0x00,0x00},/*"7",7*/

{0x00,0x00,0x00,0x3C,0x42,0x42,0x42,0x24,0x18,0x24,0x42,0x42,0x42,0x3C,0x00,0x00},/*"8",8*/

{0x00,0x00,0x00,0x38,0x44,0x42,0x42,0x42,0x46,0x3A,0x02,0x02,0x24,0x18,0x00,0x00},/*"9",9*/

{0x00,0x00,0x00,0x18,0x24,0x42,0x42,0x42,0x42,0x42,0x42,0x42,0x24,0x18,0x00,0x00},/*"0",10*/

{0x00,0x00,0x00,0x00,0x00,0x08,0x08,0x08,0x7F,0x08,0x08,0x08,0x00,0x00,0x00,0x00},/*"+",11*/

{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x7E,0x00,0x00,0x00,0x00,0x00,0x00,0x00},/*"-",12*/

{0x00,0x00,0x00,0x44,0xA4,0xA8,0xA8,0xB0,0x54,0x1A,0x2A,0x2A,0x4A,0x44,0x00,0x00},/*"%",13*/

{0x60,0x00,0x91,0xF4,0x96,0x0C,0x6C,0x04,0x08,0x04,0x18,0x00,0x18,0x00,0x18,0x00},
{0x18,0x00,0x18,0x00,0x18,0x00,0x08,0x00,0x0C,0x04,0x06,0x08,0x01,0xF0,0x00,0x00},/*"℃",14*/

{0x01,0x00,0x00,0x80,0x00,0x80,0x3F,0xFC,0x20,0x00,0x20,0x00,0x20,0x00,0x20,0x00},
{0x20,0x00,0x20,0x00,0x20,0x00,0x20,0x00,0x20,0x00,0x40,0x00,0x40,0x00,0x80,0x00},/*"广",15*//*第17行*/

{0x10,0x04,0x10,0x84,0x10,0x84,0x10,0x84,0x10,0x84,0x54,0xA4,0x52,0x94,0x52,0x94},
{0x90,0x84,0x10,0x84,0x10,0x84,0x10,0x84,0x20,0x84,0x20,0x84,0x40,0x04,0x80,0x04},/*"州",16*/

{0x00,0x00,0x23,0xF8,0x12,0x08,0x12,0x08,0x83,0xF8,0x42,0x08,0x42,0x08,0x13,0xF8},
{0x10,0x00,0x27,0xFC,0xE4,0xA4,0x24,0xA4,0x24,0xA4,0x24,0xA4,0x2F,0xFE,0x00,0x00},/*"温",17*/

{0x00,0x00,0x27,0xF8,0x14,0x08,0x14,0x08,0x87,0xF8,0x44,0x08,0x44,0x08,0x17,0xF8},
{0x11,0x20,0x21,0x20,0xE9,0x24,0x25,0x28,0x23,0x30,0x21,0x20,0x2F,0xFE,0x00,0x00},/*"湿",18*/

{0x01,0x00,0x00,0x80,0x3F,0xFE,0x22,0x20,0x22,0x20,0x3F,0xFC,0x22,0x20,0x22,0x20},
{0x23,0xE0,0x20,0x00,0x2F,0xF0,0x24,0x10,0x42,0x20,0x41,0xC0,0x86,0x30,0x38,0x0E},/*"度",19*/

{0x00,0x20,0x00,0x20,0x7B,0xFE,0x48,0x20,0x49,0xFC,0x48,0x20,0x4B,0xFE,0x78,0x00},
{0x49,0xFC,0x49,0x04,0x49,0xFC,0x49,0x04,0x79,0xFC,0x49,0x04,0x01,0x14,0x01,0x08},/*"晴",20*/

{0x00,0x00,0x7D,0xFC,0x45,0x04,0x49,0x04,0x49,0x04,0x51,0xFC,0x49,0x04,0x49,0x04},
{0x45,0x04,0x45,0xFC,0x45,0x04,0x69,0x04,0x52,0x04,0x42,0x04,0x44,0x14,0x48,0x08},/*"阴",21*//*第29行*/

{0x02,0x00,0x02,0x00,0x07,0xF0,0x08,0x20,0x38,0x40,0x04,0x80,0x03,0x40,0x0C,0x80},
{0x71,0xF8,0x02,0x08,0x0C,0x10,0x32,0x20,0x01,0x40,0x01,0x80,0x0E,0x00,0x70,0x00},/*"多",22*/

{0x00,0x00,0x3F,0xF8,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xFE,0x02,0x00},
{0x04,0x00,0x04,0x00,0x08,0x40,0x10,0x20,0x20,0x10,0x7F,0xF8,0x20,0x08,0x00,0x08},/*"云",23*/

{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x60,0x60,0x00,0x00},/*".",24*/

{0x02,0x00,0x01,0x00,0x7F,0xFE,0x40,0x02,0x80,0x04,0x3F,0xF8,0x04,0x00,0x08,0x20},
{0x1F,0xF0,0x01,0x10,0x01,0x00,0x3F,0xF8,0x01,0x00,0x01,0x00,0xFF,0xFE,0x00,0x00},/*"室",0*//*第36行*/

{0x01,0x00,0x01,0x00,0x01,0x00,0x7F,0xFC,0x41,0x04,0x41,0x04,0x41,0x04,0x42,0x84},
{0x42,0x44,0x44,0x24,0x48,0x14,0x50,0x14,0x40,0x04,0x40,0x04,0x40,0x14,0x40,0x08}/*"内",1*/
};

4.效果图

5.[分享]取字模软件及本例中的设置

PCtoLCD2002

0%