资 源 简 介
单一灯的左移右移分别接在单片机的P1.0-P1.7接口上,输出“0”时,发光二极管亮,开始时P1.0→P1.1→P1.2→P1.3→┅→P1.7→P1.6→┅→P1.0亮,重复循环-A single light, respectively, shifted to right then left at P1.0-P1.7 microcontroller interface, the output " 0" when the bright light-emitting diode, the beginning of P1.0 → P1.1 → P1.2 → P1. 3 → ┅ → P1.7 → P1.6 → ┅ → P1.0 Liang, repeat cycle