2016-08-20 05:09:52 +01:00
|
|
|
import pyb
|
|
|
|
|
2014-01-08 09:00:22 +00:00
|
|
|
print("Executing main.py")
|
|
|
|
|
2014-06-16 06:33:14 +01:00
|
|
|
led = pyb.LED(1)
|
|
|
|
|
|
|
|
led.on()
|
2014-01-08 09:00:22 +00:00
|
|
|
pyb.delay(100)
|
2014-06-16 06:33:14 +01:00
|
|
|
led.off()
|
2014-01-08 09:00:22 +00:00
|
|
|
pyb.delay(100)
|
2014-06-16 06:33:14 +01:00
|
|
|
led.on()
|
2014-01-08 09:00:22 +00:00
|
|
|
pyb.delay(100)
|
2014-06-16 06:33:14 +01:00
|
|
|
led.off()
|
2014-01-08 09:00:22 +00:00
|
|
|
|
|
|
|
|