Routine-Erklärung-01-blinky.py bringt die LED zum Leuchten!

Diese Routine ist 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 ""