资 源 简 介
使用89S52设计的电子钟,C51 编写,本例没有使用1302等时钟芯片,但本例完全具有时钟芯片的功能。比如基本的年月日,时分秒和星期功能,而且还有平闰年的天数自动补偿。由于采用的是全软件算法,时钟误差较大,采用高质量晶振可以减少误差。本例重在培养与训练初学者对C51的学习。-89S52 designed using an electronic clock, C51 preparation, in this case did not use 1302 clock chip, etc., but in this case complete with a clock chip functions. For example the basic date, time, and every second week of features, but also the number of days flat leap automatic compensation. As a result of the full software algorithms, the clock error of greater use of high-quality crystal can reduce the error. In this case focuses on training and training for beginners to learn on the C51.