> 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/mcu/meowbit/coding/meowbit-micropython-bian-cheng-kuai-su-ru-men.md).

# 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)
