1602六线接法练习._c
来自「iccavr下」· _C 代码 · 共 23 行
_C
23 行
#include <iom16v.h>
#include <macros.h>
#include "1602.h"
void main(void)
{
LCD_init(); //initial 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 + =
减小字号Ctrl + -
显示快捷键?