You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
141 B
14 lines
141 B
8 years ago
|
import pyb
|
||
|
|
||
11 years ago
|
print("Executing main.py")
|
||
|
|
||
11 years ago
|
led = pyb.LED(1)
|
||
|
|
||
|
led.on()
|
||
11 years ago
|
pyb.delay(100)
|
||
11 years ago
|
led.off()
|
||
11 years ago
|
pyb.delay(100)
|
||
11 years ago
|
led.on()
|
||
11 years ago
|
pyb.delay(100)
|
||
11 years ago
|
led.off()
|