大佬救命,led红颜色和白色不亮
-
import time,pyb led = pyb.LED(1) led.on() time.sleep(500) led.off() time.sleep(200) led = pyb.LED(2) led.on() time.sleep(500) led.off() time.sleep(200) led = pyb.LED(3) led.on() time.sleep(500) led.off() time.sleep(200) led = pyb.LED(4) led.on() time.sleep(500) led.off() time.sleep(200)
-
https://docs.singtown.com/micropython/zh/latest/openmvcam/openmvcam/quickref.html#led
LED 1 2 3分别是红绿蓝。