本例程为01-Basics-blinky.py
# 亮灯例程 import time from machine import LED # 蓝灯 led = LED("LED_BLUE") # 蓝灯亮500ms,蓝灯灭500ms,循环 while True: led.on() time.sleep_ms(500) led.off() time.sleep_ms(500)