In the main program of the system, as the main program runs to different stages, the main program must be driven by the clock, first complete the initialization of each module of the system, and then enter the loop; after entering the loop, scan the keyboard The program is called, the keyboard is scanned to input information, and after the operation, the data refresh subroutine is called to display the input information on the LCD1602 in real time, realizing 3 time timing settings, and then completing the adjustment of the real-time time; when the real-time clock is running forward , Compare the timing time with the real-time time of the system, and enter the alarm procedure when the two are equal.
正在翻译中..