C语言1602液晶显示的DS1302实时时钟

C/C++ 2020-10-24 20:08:53

C语言1602液晶显示的DS1302实时时钟

lcd_write_com(0x38); //LCD显示模式设置
lcd_write_com(0x0c); //LCD显示开/关及光标设置
lcd_write_com(0x06); //当写一个字符后地址指针加1,且光标加1
lcd_write_com(0x01); //显示清屏