mirror of
https://github.com/licsber/micropython.git
synced 2024-09-22 01:50:24 +08:00
01dd7804b8
This is to keep the top-level directory clean, to make it clear what is core and what is a port, and to allow the repository to grow with new ports in a sustainable way.
16 lines
143 B
Python
16 lines
143 B
Python
import pyb
|
|
|
|
print("Executing main.py")
|
|
|
|
led = pyb.LED(1)
|
|
|
|
led.on()
|
|
pyb.delay(100)
|
|
led.off()
|
|
pyb.delay(100)
|
|
led.on()
|
|
pyb.delay(100)
|
|
led.off()
|
|
|
|
|