Using micro:bit in 5 easy steps

利用五個步驟,簡單使用 Micro:bit。

(中英文內容呈現,英文保留官網原有內容)

Step 1: Connect It (連接 Micro:bit)

使用 Micro USB 連接線,連接 Micro:bit 與您的電腦,Micro:bit 支援 Macs, PCs, Chromebooks 和 Linux 系統。

Micro:bit 與電腦的連結非常的簡易,就如同將 USB 隨身碟插入電腦一樣簡單;這與其它開發板比較起來,更加容易適合入門學習,也減少了在教學現場最常發生的硬體連接問題,讓課程更容易回歸編程邏輯的訓練,而非硬體問題的排除。

Connect the micro:bit to your computer via a micro USB cable. Macs, PCs, Chromebooks and Linux systems are all supported. It comes with a fun application, give it a try!

當您連接電腦完成,Micro:bit 會在您的電腦上顯示為 'MICROBIT' 的裝置。

Your micro:bit will show up on your computer as a drive called 'MICROBIT'. Watch out though, it's not a normal USB disk!

Step 2: Program It (開始編程吧!)

Microsoft 為Micro:bit 建置了一個非常好用的線上平台 Microsoft MakeCode,透過 JavaScript Blocks Editor (編輯器)讓使用者或學生,可以很容易的入門並編輯自己的第一支程式(Program)。現在,您也可以利用下面的圖例,嘗試編輯您的第一支 Micro:bit 程式吧!

Using one of our fantastic editors, write your first micro:bit code. For example drag and drop some blocks and try your program on the Simulator in the Javascript Blocks Editor, like in the image below

點選這裡來連結到 Micro:bit 的程式編輯器,你可以在上方功能表的齒輪圖示點選"Language"變更語言設定,中文有"繁體中文"與"簡體中文"。第一次使用 Javascript Blocks Editor,建議使用者點選橘色的"Getting Started(入門教程)",入門教程將透過7個步驟,教導使用者完成並下載第一支程式到你的 Micro:bit。

Click here to try making this example yourself

Step 3: Download It (下載你的Program)

依照 Step 2 提到的"入門教程",您應該已經學會下載您編輯的程式至 Micro:bit。在 Microsoft MakeCode 上編輯下載之後的 Program,因為是透過 JavaScript 的編輯器編輯,所以下載後程式是以 HEX 檔案格式儲存。除了直接將檔案儲存在 Micro:bit ,您也可以將檔案下載在電腦上,再傳送至 Micro:bit,傳送方式如下圖的示例,簡單說,就是將 Micro:bit 比擬同 USB 磁碟機,利用 拖拉、複製貼上、傳送至...(Send To)等方法,傳遞檔案。

這樣的方法非常方便,因為利用這個方式,使用者與同儕之間也可以將範例檔,課程中分享的 Hex 直接傳送至 Micro:bit 呈現程式執行的結果。

Click the Download button in the editor. This will download a 'hex' file, which is a compact format of your program that your micro:bit can read. Once the hex file has downloaded, copy it to your micro:bit just like copying a file to a USB drive. On Windows you can right click and choose "Send To→MICROBIT."

Windows "Send To"

Mac Drag and Drop

Mac 電腦直接透過拖拉方式即可執行。

Step 4: Play It (開始玩遊 Micro:bit)

在 Micro:bit 背面有一個黃色 LED 燈,當程式在 Micro:bit 進行編輯讀取時,會不斷閃爍。當編輯完成後即可執行程式。

The micro:bit will pause and the yellow LED on the back of the micro:bit will blink while your code is programmed. Once that's finished the code will run automatically!

注意:Micro:bit 只能讀取 HEX 格式的檔案。

The MICROBIT drive will automatically eject and come back each time you program it, but your hex file will be gone. The micro:bit can only receive hex files and won't store anything else!

Micro:bit 可以讓您透過按鈕、燈光與各種動作,設計有趣的活動。它還提供了無線訊息傳遞,可以讓不同的 Micro:bit 彼此溝通,甚至還有音樂廣播的功能。

What cool stuff will you create? Your micro:bit can respond to the buttons, light, motion, and temperature. It can even send messages wirelessly to other micro:bits using the 'Radio' feature.

Check out thehardwarepage for more inspiration.

Step 5: Master it (掌握你的 Micro:bit)

這一個 Session 只是讓您更快掌握你的 Micro:bit,如果您想更加深入的了解與使用 Micro:bit,在 Let's Code page 中您將學習透過 JavaScript Blocks Editor 與 Python Editor 來編輯你的 Micro:bit Program。除此之外,在官網中同時還提供了非常豐富的示例、案例與新聞、專案,提供學習者更深入掌握 Micro:bit。

This page shows you how to get started with micro:bit, but as well as JavaScript Blocks you can use Python and text-based JavaScript to program your micro:bit. Head over to the

Let's Code page

to see the different languages, or check out the

ideas page

for some things you might like to try out.

results matching ""

    No results matching ""