Introduction - If you have any usage issues, please Google them yourself
Conditions of use 12MHz crystal, by 8051 internal timer according to the way a work, that is used as a 16-bit timer overflow interrupt every 0.05 seconds T1. P1 port P1.0 ~ P1.7, respectively, then the light-emitting diode L1 to L8. (Connect J2, J3). Requirements: write a program to simulate a cycle Lantern. Lantern changes in the pattern: a ' L1, L2, ... L8 were lit ② L1, L2, ... L8 off in order ③ L1, L2, ... L8 full brightness, Quanmie. The timing interval is 0.5 seconds. The light-emitting diode cycle continues above rules. Preparation of an ambulance siren program requirements: high and low tones alternating, alternating cycles 1.5S.