资 源 简 介
1.将P1.0~P1.3接开关,将P1.4~P1.7接发光二极管。依据P1.0~P1.3开关状态控制P1.4~P1.7发光二极管点亮。 2.将P1.0~P1.7全部接发光二极管,开始P1.0、P1.5点亮,左循环50次后P1.1、P1.4点亮;右循环30次,循环往复。-1. P1.0- P1.3 will then switch to P1.4- P1.7 access LEDs. P1.0- P1.3 based on state control switch P1.4- P1.7 LED lights. 2. P1.0- P1.7 will take all LEDs started Schematic, P1.5 lit, the left circle after 50 P1.1 and P1.4 lit; Turn right circle 30 times repeated.