LED RGB3
3x RGB LED
- Overview
- Commands
- On-Module Code
A visual LED with 3x RGB LEDs. These lights can be set to any of 7 colors or can be turned off.
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.
| Function | Description |
|---|---|
SetLed(i, c) | sets an LED at i (0 to 2) to c (RRGGBB color). |
DVer() | This driver version. |
Samples​
Example code for using this module's commands in popular 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...
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...
Code that runs directly on this module's MCU. See On-Module Code for an overview.
- 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 |