Example explanation-01-blinky.py makes the LED light up!
This routine is 01-Basics-blinky.py
# 亮灯例程import time
from machine import LED
# 蓝灯
led = LED("LED_BLUE")
# 蓝灯亮500ms,蓝灯灭500ms,循环whileTrue:
led.on()
time.sleep_ms(500)
led.off()
time.sleep_ms(500)