mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
14 lines
215 B
Python
14 lines
215 B
Python
import time, pyb
|
|
|
|
led = pyb.LED(3)
|
|
usb = pyb.USB_VCP()
|
|
|
|
while (usb.isconnected()==False):
|
|
led.on()
|
|
time.sleep(150)
|
|
led.off()
|
|
time.sleep(100)
|
|
led.on()
|
|
time.sleep(150)
|
|
led.off()
|
|
time.sleep(600) |