Spiegazione di routine-01-blinky.py fa accendere il LED!

Questa routine è 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)

results matching ""

    No results matching ""