Lanqiao Cup Embedded-The Ninth Provincial Competition-Electronic Timer
table of Contents
1. Analysis of competition questions
For this year's competition, the system block diagram is as follows, using LCD, LED, buttons, EEPROM, PWM output and other modules.
There is no problem with the configuration of the module. The difficulty of this session is mainly how to realize the long press and short press of the button, and the highlight display of the LCD. These two points are not involved in the previous sessions.
Since the PWM is a fixed 1Khz, it is enough to directly use the PWM1 mode of the timer, without using the OC_TOGGLE mode.
Second, the problem summary
The main reason is that I came into contact with a new test site, and the LCD highlighted it. This was not touched before. Regarding this test site, I wrote about how to operate it in another blog. Click me .