Chrono
LED Matrix with optional Battery
- Overview
- Commands
- On-Module Code
Scroll text on the LED matrix or use the sides to show "time"! Chrono includes two buttons and a CR2032 battery holder.
Add a a wrist band or a lanyard to turn this into a "wearable" module.
Key features • 5x5 LED Matrix | Resources 📄 Schematics PID: 0x0C0004 |
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 |
|---|---|
GetW() | Get display width: 5. |
GetH() | Get display height: 5. |
IsColor() | Returns 0. |
BtnA() | Returns 1 if button A is pressed. |
BtnB() | Returns 1 if button B is pressed. |
DVer() | This driver version. |
See Graphics for available drawing functions.
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
- MicroBlocks
loading...
loading...
loading...
loading...
loading...
This sample project runs on a MicroBlocks-enabled device that is tethered to this module. Note that this tethered module needs to have the official DUELink firmware and its module driver. See MicroBlocks page to learn more.
Click the button below to open, edit, and run the project directly on MicroBlocks' website.
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 Chrono (Blue) | GDL-SPCHRONO-A-B | $5.95 |