LED RGB3
3x RGB LED
- Overview
- Commands
- Samples
- On-Module Code
A 3-LED RGB indicator strip — each LED can show any of 7 colors (or off). Set colors with simple text commands over any supported interface.
Common uses: status indicators on prototypes, RGB-coded feedback, simple traffic-light demos, classroom intro-to-RGB lessons, and any project that needs a few colored lights without dedicating GPIO pins.
Key features • 3 RGB LEDs | Resources 📄 Schematics PID: 0x050005 |
Modules ship without cables to reduce waste. Some specialty boards include a USB cable; for the rest, see Cables to add cables to your order.
Commands this module accepts. See Samples for runnable code in popular host languages.
| Function | Description |
|---|---|
SetLed(i, c) | sets an LED at i (0 to 2) to c (RRGGBB color). |
DVer() | This driver version. |
Peek under the hood
The script below is this module's driver — it teaches the hardware how to respond to the commands listed above. It ships pre-loaded from the factory; most users never need to open it.
loading...
Example code that calls this module's commands from popular host languages.
New here? See Get Started to connect a module and send your first command.
- Python
- MicroPython
- JavaScript
- .NET
- Arduino
loading...
loading...
loading...
loading...
loading...
Code that runs directly on this module's MCU. See how On-Module Code allows modules to run standalone.
- Script
- Arduino IDE
This example runs using the default DUELink Internal Engine using its Scripting Language, and it expects the module's driver to be loaded first, see the Commands Tab.
loading...
See Arduino IDE page for more info.
loading...
Ordering Info
| Product | Part Number | Price |
|---|---|---|
| DUELink LED RGB3 | GDL-LDLEDRGB3-A | $6.95 |