> 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/outdated/rgb.md).

# RGB彩燈模組

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

這是一隻彩燈模組。

### 產品參數

* 工作電壓：3V\~5V
* 類型：數位模組
* 接口：杜邦線

### 接線教學

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

### MakeCode編程教學

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

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

#### 此模組可供Microbit和Meowbit使用。

**彩燈編程**

#### Microbit:

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

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

#### Meowbit:

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

[參考程式網址](https://makecode.com/_C13AgeUHz0M3)

### KittenBlock編程教學

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

#### 加載Robotbit插件

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

**彩燈編程**

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