# Meowbit MicroPython編程快速入門

Meowbit支援MicroPython編程，可以實現純文字的編程。

### 令Meowbit進入PyBoard模式

對Meowbit進行MicroPython編程前，我們需要令Meowbit進入PyBoard模式。

#### 1. 將Meowbit連接電腦，並進入下載模式。

* 按著MeowBit的A按鍵不放，打開MeowBit電源。

![](https://kittenbothk.readthedocs.io/en/latest/_images/kb1.jpg)

成功的話，電腦會出現一個叫Arcade F4的裝置。

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

#### 2. 將PyBoard固件上傳到Meowbit。

{% file src="/files/9KKH061ZSOZuclJ33L1z" %}

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

然後你的電腦上會出現一個叫PYBFLASH的裝置。

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

#### 3. 對main.py進行編程。

使用任何一種能編輯python檔案的程式打開main.py，就可以編程。

有關Meowbit的API應用可以參考：[Meowbit API](/mcu/meowbit/coding/meowbit-micropython-api.md)

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


---

# Agent Instructions: 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:

```
GET https://sharinghub.kittenbot.hk/mcu/meowbit/coding/meowbit-micropython-bian-cheng-kuai-su-ru-men.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
