Raspberry pico w
參考資料
- 首頁MicroPythonRaspberry Pi Pico筆記 https://atceiling.blogspot.com/2021/03/raspberry-pi-pico1micropythonled.html
LED blink
<python> from machine import Pin import time
led = Pin("LED", Pin.OUT)
while True:
led.on() # LED亮 time.sleep(1) # 等待1秒 led.off() time.sleep(1) # LED滅
</python>