Description: Working environment:
The buttons are interrupted
IIC bus
P0 mouth pulled
LS244 enabled
Connect digital tube
K0: determine the key to determine the adjusted clock or alarm clock
K1: clock adjustment key, used to select the position of clock adjustment
K2: the adjustment key is used to make the selected number change
K3: alarm clock adjustment key used to select the location of alarm clock
After turning on the power supply may need to press a K4 (reset), the clock will start moving, at this point is a default time, use of K1 to choose need to change the location of Numbers, and then press K2 adjustment, after all the Numbers are adjusted by K0, the clock will adjust according to the new good data began to move.
The alarm clock defaults to 7 a.m., which can be adjusted by K3+K2+ K0. The adjustment method is also adjusted.
This is a relatively perfect clock procedures, of course, can also add many functions, such as increasing the alarm clock time, or to make valid for a certain output after the time and so on, please thinking more, hope to see you write the program of the good than me.
The experiment mainly study the use of PCF8563, but also integrated the IIC bus, speaking, reading and writing, interrupt mode button processing, digital tube display, digital tube dynamic refresh and internal software timing, etc., so is a more comprehensive test.
- [csbv20] - 1.1 profiles three models ranging choice
- [pcf8563] - PCF8563 a chip on the clock procedures.
- [pcf8563A] - pcf8563 real-time clock chip microcontro
- [PCF8563T_cn] - pcf8563 Chinese technical data and do no
- [51_KEY] - 51 key matrix scanning procedure, the pr
- [c_100] - C language 100 cases of classical progra
- [javacc-3.2.tar] - Java can be used for the development of
- [DOUGUANLAN] - Multi-function power drawings, is the PF
- [a1] - Did soil stamp instance using Java wife
File list (Check if you may need any files):