> For the complete documentation index, see [llms.txt](https://sharinghub.kittenbot.hk/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sharinghub.kittenbot.hk/jacdac/hardwares/quickstart.md).

# Jacdac MakeCode編程快速開始

MakeCode已經可以支援Micro:bit V2的Jacdac編程，請細閱以下說明了解如何在MakeCode開始編程。

### 注意：Jacdac只支援Micro:bit V2

### 1. 在MakeCode專案加入Jacdac插件

![](https://kittenbothk.readthedocs.io/en/latest/_images/makecode1.gif)

### 2. 將Micro:bit V2連接到MakeCode，然後將程式hex下載到Micro:bit V2

![](https://kittenbothk.readthedocs.io/en/latest/_images/makecode2.gif)

### 3. 連接Jacdac模組MakeCode會自動更新模組清單，然後點擊加入積木就可以開始編程

![](https://kittenbothk.readthedocs.io/en/latest/_images/makecode3.gif)

#### 假如你手上沒有Jacdac模組，你亦可以透過模擬器進行編程

#### 在模擬器搜尋模組就可以加入相應的積木

![](https://kittenbothk.readthedocs.io/en/latest/_images/makecode4.gif)

### Micro:bit不能連接MakeCode修復方法

假如你的Micro:bit不能連接到MakeCode，請試試以下方法。

1. 更新網絡瀏覽器
2. 更新Micro:bit的韌體
3. 重新安裝mbed驅動程式

#### 重新安裝mbed驅動程式方法

**1. 將Micro:bit連接到電腦**

**2. 搜尋並打開裝置管理員(Device Manager)**

![](https://kittenbothk.readthedocs.io/en/latest/_images/devicemanager.png)

**3. 選擇mbed device，移除硬件並剔選移除驅動程式**

![](https://kittenbothk.readthedocs.io/en/latest/_images/mbed.gif)

**4. 重新連接Micro:bit**


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://sharinghub.kittenbot.hk/jacdac/hardwares/quickstart.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
