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

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