基于ds1302的51单片机简易实时时钟 1602显示 源程序.pdfVIP

  • 28
  • 0
  • 约4.86千字
  • 约 7页
  • 2021-12-02 发布于江苏
  • 举报

基于ds1302的51单片机简易实时时钟 1602显示 源程序.pdf

==================主程序================= #include reg51.h #include ds1302.h #include LCD1602.h void change(); uchar times[9]; uchar date[9]; main() {LCD_init();//LCD 初始化 init_1302(time_1302); gotoxy(1,1); LCD_display(Time:); gotoxy(1,2); LCD_display(Date:); times[8]=\0;// date[8]=\0;

文档评论(0)

1亿VIP精品文档

相关文档