In the process of software debugging, the method of gradually adding module function program is adopted, step by step to add the application of each functional module, and gradually modify and perfect.<br>The preliminary software program only displays the time, completes the function of the clock, then gradually adds bit definition, completes all the programs related to key input, realizes the adjustable of each parameter of the system, then adds the LCD1602 sub-program to read the data, completes the recording of the parameters displayed in LCD1602, completes the function of time timing, and finally adds the alarm reminder program to realize the alarm function.<br>In the process of system software programming, it can be divided into the following stages:<br>1, write a simple clock program, to achieve the operation of the clock.<br>2, on the basis of the clock, add 2 keys, and add drivers to achieve its input function, one for the function key, one for the adjustment key, when the function key is pressed, enable the adjustment function of the adjustment key, the function key press 1 time, the adjustment key to the minute adjustment, the function key press 2 times, adjust the key to the hour adjustment, the function key press 3 times, exit the clock adjustment, the clock starts to run on the basis of adjustment.<br>The software used in software debugging is KEIL, is the electronic direction technicians to use more software, the use of the version of Keil?Vision4 In English, is an efficient development application. This version also supports many of the latest ARM chips.
正在翻译中..