mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
Add main.py example
This commit is contained in:
parent
abe423a3ee
commit
374428e14e
10
usr/examples/main.py
Normal file
10
usr/examples/main.py
Normal file
@ -0,0 +1,10 @@
|
||||
import led, time
|
||||
while (vcp_is_connected()==False):
|
||||
led.on(led.BLUE)
|
||||
time.sleep(150)
|
||||
led.off(led.BLUE)
|
||||
time.sleep(100)
|
||||
led.on(led.BLUE)
|
||||
time.sleep(150)
|
||||
led.off(led.BLUE)
|
||||
time.sleep(600)
|
||||
Loading…
Reference in New Issue
Block a user