# RGB LED Module

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

This is a single RGB LED.

### Specification[](https://kittenbothk-eng.readthedocs.io/en/latest/functional_module/outdated/rgb.html#specification)

* Voltage: 3V\~5V
* Type: Digital Module
* Interface: 3 Pin Dupont Cable

### Wiring Diagram[](https://kittenbothk-eng.readthedocs.io/en/latest/functional_module/outdated/rgb.html#wiring-diagram)

![../../\_images/RGB\_wire.png](https://kittenbothk-eng.readthedocs.io/en/latest/_images/RGB_wire.png)

### MakeCode Coding Tutorial[](https://kittenbothk-eng.readthedocs.io/en/latest/functional_module/outdated/rgb.html#makecode-coding-tutorial)

![../../\_images/mcbanner.png](https://kittenbothk-eng.readthedocs.io/en/latest/_images/mcbanner.png)

![../../\_images/acbanner.png](https://kittenbothk-eng.readthedocs.io/en/latest/_images/acbanner.png)

#### This module can be used with Microbit and Meowbit.[](https://kittenbothk-eng.readthedocs.io/en/latest/functional_module/outdated/rgb.html#this-module-can-be-used-with-microbit-and-meowbit)

**Controlling the LED**[****](https://kittenbothk-eng.readthedocs.io/en/latest/functional_module/outdated/rgb.html#controlling-the-led)

#### Microbit:[](https://kittenbothk-eng.readthedocs.io/en/latest/functional_module/outdated/rgb.html#microbit)

![../../\_images/rgb\_code.png](https://kittenbothk-eng.readthedocs.io/en/latest/_images/rgb_code.png)

[Sample Code Link](https://makecode.microbit.org/_Tq7Y963gW1fA)

#### Meowbit:[](https://kittenbothk-eng.readthedocs.io/en/latest/functional_module/outdated/rgb.html#meowbit)

![../../\_images/rgb\_codeMeow.png](https://kittenbothk-eng.readthedocs.io/en/latest/_images/rgb_codeMeow.png)

[Sample Coding Link](https://makecode.com/_C13AgeUHz0M3)

### KittenBlock Coding Tutorial[](https://kittenbothk-eng.readthedocs.io/en/latest/functional_module/outdated/rgb.html#kittenblock-coding-tutorial)

![../../\_images/kbbanner.png](https://kittenbothk-eng.readthedocs.io/en/latest/_images/kbbanner.png)

#### Load the Robotbot extension[](https://kittenbothk-eng.readthedocs.io/en/latest/functional_module/outdated/rgb.html#load-the-robotbot-extension)

![../../\_images/addRB.png](https://kittenbothk-eng.readthedocs.io/en/latest/_images/addRB.png)

**Controlling the LED**[****](https://kittenbothk-eng.readthedocs.io/en/latest/functional_module/outdated/rgb.html#id1)

![../../\_images/rgb\_code2.png](https://kittenbothk-eng.readthedocs.io/en/latest/_images/rgb_code2.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-eng.kittenbot.hk/functional_module/discontinued-modules/rgb-led-module.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.
