lcd_12232.h
来自「LCD_12232 液晶显示程序源代码」· C头文件 代码 · 共 24 行
H
24 行
#define uchar unsigned char
#define uint unsigned int
#define E1 0,23 //块1 左边
#define E2 0,16 //块2 右边
#define RW 1,24 //读写控制端 0为写 1为读
#define A0 1,25 //A0为1时是数据,0时为指令数据
/*
#define E1 0,4 //块1 左边
#define E2 0,30 //块2 右边
#define RW 0,22 //读写控制端 0为写 1为读
#define A0 0,21 //A0为1时是数据,0时为指令数据
*/
#define DATA PORTB //数据
extern void clrscr(void);
extern void DrawBmp1(uint x_add, uchar width,unsigned char const *bmp);
extern void Draw_word(uchar d_where,uint x_add,uchar layer,uchar width);
extern int lcd_init(void);
extern unsigned char const bmp001[];
extern unsigned char const bmp002[];
extern void Draw_char(uchar d_where,uint x_add,uchar layer,uchar width);
extern void DrawBmp(unsigned layer,uchar width,unsigned char const *bmp);
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?