Introduction - If you have any usage issues, please Google them yourself
In the case of using 12MHz crystal condition, 1 1 in the manner of work by the 8051 internal timer, that is, as 16-bit timer, every 0.05 seconds T1 overflow interrupt again. P1 port P1.0 ~ P1.7 are connected to the light-emitting diodes L1 ~ L8. (With a line connecting J2, J3). Requirements: programming a simulation cycle lights. Lantern pattern of change: ①L1, L2, ... L8 were lit ②L1, L2, ... L8 turn off ③L1, L2, ... L8 whole light, completely destroyed. Each timing interval of 0.5 seconds. Let the light emitting diode according to the above laws cycle continues.