A lightweight and easy-to-use Arduino library for displaying numbers and special characters (like :
) on LED matrices using the DMD library. Perfect for creating countdown timers, clocks, or any project that requires numeric displays.
- 🎯 Supports numbers 0-9 and the colon (
:
) character - 🛠️ Easy-to-use
drawChar
function for displaying characters - 🔌 Compatible with LED matrices controlled by the DMD library
- 📦 Example included: A count-up timer demo from
00:00
to59:59
- Download the latest release from the Releases page.
- Extract the ZIP file into your Arduino
libraries
folder. - Restart the Arduino IDE.
arduino-cli lib install LedDisplayFonts
#include <LedDisplayFonts.h>
#include <DMD.h>
DMD led_module(1, 1); // Initialize DMD with 1 row and 1 column
LedDisplayFonts displayFonts(led_module);
void setup() {
// Initialize your display here
}
void loop() {
displayFonts.drawChar(0, 0, '5'); // Display the number 5 at (0, 0)
}
Find the CountUpDemo sketch in:
File > Examples > LedDisplayFonts > CountUpDemo
- DMD – LED matrix control
- SPI – Communication protocol
- TimerOne – Timing/scanning
- LedP10 – Brightness control
Install via Arduino Library Manager or manually.
Licensed under the MIT License. See LICENSE
for details.
- Open an issue for bugs/features
- Fork the repo → create a feature branch → submit a PR
- Developer: JakubSdf
- Inspiration: DMD Library