📄 1602六线接法练习.c
字号:
#include <iom16v.h>
#include <macros.h>
#include "1602.h"
void main(void)
{
LCD_init(); //initialize lcd1602
while(1)
{
clear(); //clear lcd1602
delay_nms(10);
LCD_write_string(0,0," ATmega 16 BOARD"); //write the string on the first
//line at the first address
LCD_write_string(1,1," dushibiao ");
delay_nms(5000);
clear();
delay_nms(10);
LCD_write_string(0,0,"Stduy follow me");
LCD_write_string(0,1,"You will secceed");
delay_nms(5000);
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -