12864

来自「12864显示计算器数字」· 代码 · 共 32 行

TXT
32
字号
#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 + =
减小字号Ctrl + -
显示快捷键?