# OLED顯示屏魔塊

<figure><img src="/files/wGFvTSa2OHwTsMFPxLuN" alt=""><figcaption></figcaption></figure>

### 產品參數

* 工作電壓：3.3V\~5V
* 解像度：128\*64

### 接線教學

將模組用4pin排線連接至Robotbit的I2C接口。

![](/files/s22sy6NK5UxC1MOXBiYH)

### MakeCode編程教學

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

#### 加載PowerBrick插件：<https://github.com/KittenBot/pxt-sugar>

#### [詳細方法](/programmingplatforms/makecode/kittenbotandmakecode.md)

#### OLED積木塊：

<figure><img src="/files/SimBxqEfwOnSE2L6DD4S" alt=""><figcaption></figcaption></figure>

#### OLED編程

{% hint style="info" %}
OLED可以顯示4行文字或2行大文字。
{% endhint %}

{% embed url="<https://makecode.microbit.org/_C8r4uVEeiTe7>" %}

[參考程式網址](https://makecode.microbit.org/_C8r4uVEeiTe7)

<figure><img src="/files/h3Wn3xZuGIsTOBKEhx2P" alt=""><figcaption></figcaption></figure>

### 插件版本與更新

PowerBrick插件可能會不定時推出更新，改進功能。亦有時候我們可能需要轉用舊版插件才可使用某些功能。

詳情請參考: [Makecode插件版本更換](/programmingplatforms/makecode/makecodeextupdate.md)


---

# 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/functional_modules/pwmodules/oled.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.
