📄 12864显示计算器数字.c
字号:
#include<reg52.h>
#include"define.h"
#include"zifu.h"
#include"12864.h"
#include"keyscan.h"
void main()
{
LCD_init();
LCD_clear();
while(1)
{
LCD_display16(0,0,0,qing);
LCD_display16(0,0,2,shu);
LCD_display16(0,0,4,ru);
LCD_display_dot(0,9,50);
LCD_display_dot(0,10,50);
LCD_display_dot(0,9,51);
LCD_display_dot(0,10,51);
LCD_display_dot(0,16,50);
LCD_display_dot(0,17,50);
LCD_display_dot(0,16,51);
LCD_display_dot(0,17,51);
LCD_common_display();
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -