import time, pyb
led1 = pyb.LED(1) # Red LED = 1, Green LED = 2, Blue LED = 3, IR LEDs = 4.
led2 = pyb.LED(2)
led3 = pyb.LED(3)
usb = pyb.USB_VCP() # This is a serial port object that allows you to
# communciate with your computer. While it is not open the code below runs.
while(1):
led1.on()
led2.on()
led3.on()
time.sleep_ms(150)
led1.off()
led2.off()
led3.off()
time.sleep_ms(100)
led1.on()
led2.on()
led3.on()
time.sleep_ms(150)
led1.off()
led2.off()
led3.off()
time.sleep_ms(100)
那就寄回维修吧。