Introduction - If you have any usage issues, please Google them yourself
Eight light-emitting diodes D1 ~ D8 are respectively connected to the microcontroller P1.0-P1.7 port, a switch connected to the P3.0. Requirements output port " 0" , the LED lights. The switch is closed, began to press P0.0+P0.7, P0.1+P0.6, P0.2+P0.5, P0.3+P0.4 order were lit LED, then P0.3+P0.4, P0.2+P0.5, P0.1+P0.6, P0.0+P0.7 order lit LED, repeat the cycle. When the switch is turned off, immediately stop the indicator lights. When the switch is turned off, immediately stop the indicator lights.