Controller
A 7x Button Controller with 8x LED ring
- Overview
- Driver
- Tethered Samples
- Standalone Samples
Use the buttons to control other modules. The 8x LED ring can help with indications of the controller usage.
Key features • 7x buttons | Resources PID: 0x0C0008 |
Driver Scripts go hand-in-hand with DUELink official firmware. See the Driver Scripts page for further details.
| Function | Description |
|---|---|
BtnPin(p) | Returns pin number, based on p value ('U' = Up, 'D' = Down, 'L' = Left, 'R' = Right, 'A' = A, 'B' = B). |
Setled(l,v) | Sets Led at l (1 to 8) to a v value (1 on, 0 off). |
SetAllLed(v) | Sets all Leds to v value (1 on, 0 off). |
DVer() | This driver version. |
The Code!
loading...
These Tethered samples assume the driver is installed, see the Driver Tab.
- Python
- JavaScript
- .NET
loading...
loading...
loading...
These samples show how to run DUELink Standalone.
- Script
- Arduino
- MicroBlocks
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.
loading...
See Arduino page for more info.
loading...
This project runs standalone. It assumes that the MicroBlocks firmware is already loaded on the module.
Click the button below to open, edit, and run the project directly on MicroBlocks' website.
Ordering Info
| Product | Part Number | Price |
|---|---|---|
| DUELink Controller | GDL-SPCTRLR-B | $9.95 |