Description: Training use AT89C51 control, which use p2 do output, p3 mouth do control signal, use external interruption 1 to adjust hours, and external interruption, 0 to adjust minutes, the timer 1 in count mode to adjust seconds, the timer 1 in timing model in the count, and p0.0 do always control switch of the entrance.
Soft clock is using single chip computer internal timer \ counter to implementation, it is the process of the following: first set inside the single chip microcomputer a timer \ counter work in regular way, to machine cycle count form benchmark time, and then used another timer, counter or software count method to count the benchmark time form seconds, seconds program 60 times form points, points plan 60 times form hours, and hours 24 times with the project plan a day. Then through the contents of the digital tube they in their place can be displayed.
To Search:
File list (Check if you may need any files):
基于单片机的电子时钟的设计.doc