BTN RGB28x4
4x RGB Backlit Buttons
- Overview
- Driver
- Tethered Samples
- Standalone Samples
These four 28mm buttons are transparent white on the outside but are backlit with RGB LEDs. There are 7 possible color combinations, plus off!
Key features • 4x 28mm buttons | Resources PID: 0x040002 |
Driver Scripts go hand-in-hand with DUELink official firmware. See the Driver Scripts page for further details.
| Function | Description |
|---|---|
SetClr(i,c,l) | Sets a button at i index to c color with l luminance. |
BtnA() | Returns 1 if button A is pressed. |
BtnB() | Returns 1 if button B is pressed. |
BtnC() | Returns 1 if button C is pressed. |
BtnD() | Returns 1 if button D is pressed. |
DVer() | This driver version. |
The Code!
BTN RGB28x4 Driver
loading...
These Tethered samples assume the driver is installed, see the Driver Tab.
- Python
- MicroPython
- JavaScript
- .NET
- Arduino
Python Sample
loading...
MicroPython Sample
loading...
JavaScript Sample
loading...
.NET Sample
loading...
Arduino Sample
loading...
These samples show how to run DUELink Standalone.
- Script
- Arduino
This example runs using the default DUELink Internal Engine using its Scripting Language, and it expects the driver to be loaded first, see the Driver Tab.
Standalone Script Sample
loading...
See Arduino page for more info.
Standalone Arduino Sample
loading...
Ordering Info
| Product | Part Number | Price |
|---|---|---|
| DUELink BTN RGB28x4 | GDL-HIBRGB284-B | $19.95 |