可在 MakeCode 中的 擴展 加入此擴展積木專案
- 開啟網頁 https://makecode.microbit.org/
- 點擊 新增專案
- 點擊積木選單最底處的 擴展
- 搜尋並加入擴展積木 https://github.com/BLstem/pxt-led
在 MakeCode 修改此專案
- 開啟網頁 https://makecode.microbit.org/
- 點擊 匯入 然後點選 匯入 URL
- 貼上 https://github.com/BLstem/pxt-led 並點擊 繼續!
- 使用 RGB LED 燈條
- 燈條附有 12 顆 RGB LED 燈
- 信號線連接至 micro:bit 引腳 1
- 把積木放置在「重複無限次」內
- 輸入適當的速度參數