📄 lcd_160.h
字号:
# define a 0x10
# define b 0x20
# define c 0x40
# define d 0x80
# define e 0x1
# define f 0x2
# define g 0x4
# define h 0x8
const uchar distab_asc[]=
{
0,0, 0,0 ,0,0, 0,0,//1
0,0, 0,0 ,0,0, 0,0,//2
0,0, 0,0 ,0,0, 0,0,//3
0,0, 0,0 ,0,0, 0,0,//4
0,0, 0,0 ,0,0, 0,0,//5
0,0, 0,0 ,0,0, 0,0,//6
0,0, 0,0 ,0,0, 0,0,//7
0,0, 0,0 ,0,0, 0,0,//8
0,0, 0,0 ,0,e+f, 0,0,//9 sp ! " # 32 33 34 35
0,0, 0,0 ,0,0, 0,0, //10 sp ! " # 32 33 34 35
0,0, 0,0 , b+c+d+g,e+f+g+h, c+d, f+g, //11 ( ) * +
0,0, c,g , 0,0 , g,e, //12 , - . /
0x1b,0xf0, 0x80,0x2, 0x5a,0xb4, 0x58,0xf4, //13 0 1 2 3
0xc1,0x06, 0x59,0xd4, 0x5b,0xd4, 0x10,0x70, //14 4 5 6 7
0x5b,0xf4, 0x59,0xf4, 0,0, 0,0, //15 8 9 : ;
0,e+h, c+h,g+d, b+g, 0, 0,0, //16 < = > ?
0,0, a+e+f+d+c, f, e+c+f+h+d, 0, c+f+h, 0, //17 @ A B C
c+f+h+d, f, a+e+c+f+h,0, a+e+c+f, 0, a+e+h+c+d, f, //18 D E F G
e+c+f+d, f, d, f, d+h, f, d, f+e+h, //19 H I J K
e+f+h,0, e+f+a+d, f+a+b+c, e+f+b, b+c+h, c+f+h+d, 0, //20 L M N O
a+e+f+c, f, a+e+d+c, f+d, d, a+f+b+g+h,a+e+c+d+h, 0, //21 P Q R S
a+d, a+f, e+f+h+d, f, e+f+g, e, e+f+h+d, f+d+b+c, //22 T U V W
b+g, e+h, b+d, e, c+g+h, 0 , a+e+f+h,0, //23 X Y Z [
b,h, 0,a+c+b+d ,0,e+b, h,d, //24 \ ] ^ _
0,e, a+e+f+d+c, f, e+c+f+h+d, 0, c+f+h, 0, //25 ' A B C
c+f+h+d, f, a+e+c+f+h,0, a+e+c+f, 0, a+e+h+c+d, f, //26 D E F G
e+c+f+d, f, d, f, d+h, f, d, f+e+h, //27 H I J K
e+f+h,0, e+f+a+d, f+a+b+c, e+f+b, b+c+h, c+f+h+d, 0, //28 L M N O
a+e+f+c, f, a+e+d+c, f+d, d, a+f+b+g+h,a+e+c+d+h, 0, //29 P Q R S
a+d, a+f, e+f+h+d, f, e+f+g, e, e+f+h+d, f+d+b+c, //30 T U V W
b+g, e+h, b+d, e, c+g+h, 0 , 0,0, //31 X Y Z {
d,b, 0,0 ,0,0, 0,0 //32 | } ~ del
// a+e+f+d+c, f, e+c+f+h+d, 0, c+f+h, 0, c+f+h+d, f, //abcd
// a+e+c+f+h,0, a+e+c+f, 0, a+e+h+c+d, f, e+c+f+d, f, //efgh
// d, f, d+h, f, d, f+e+h, e+f+h,0, //ijkl
// e+f+a+d, f+a+b+c, e+f+b, b+c+h, c+f+h+d, 0, a+e+f+c, f, //mnop
// a+e+d+c, f+d, d, a+f+b+g+h,a+e+c+d+h, 0, a+d, a+f, //qrst
// e+f+h+d, f, e+f+g, e, e+f+h+d, f+d+b+c, b+g, e+h, //uvwx
// b+d, e, c+g+h, 0 //yz
};
////////////////////////////
// 160 lcd
////////////////////////////
const uchar distab[]=
{
0xaf,0x06,0x6d,0x4f,
0xc6,0xcb,0xeb,0x0e,
0xef,0xcf, 0xee,0xe3,
0x61,0x67,0xe9,0xe8
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -