Repository navigation
π MAX7219_CH32 v1.0.0 - Initial Release
A lightweight, memory-optimized Arduino library for controlling MAX7219 7-segment displays
β¨ What's New
This is the initial production release of MAX7219_CH32, a comprehensive library designed specifically for memory-constrained microcontrollers like the CH32V003, while maintaining full compatibility with standard Arduino boards.
π― Key Features
Dual Display Modes
- BCD Decode Mode: Hardware-accelerated display for numbers (0-9)
- No-Decode Mode: Software-controlled display for text, letters, and custom patterns
Flexible Display Options
- π Alignment Control: Left, right, and center alignment
- π’ Multiple Formats: Integers, floats, text, time (HH:MM, HH:MM:SS), hex, binary
- ποΈ Brightness Control: 16-level brightness adjustment (0-15)
- β‘ Power Management: Programmatic display on/off control
Rich Animation Support
- π« Blink animations
- π Fade in/out effects
- π Text scrolling
- β¨ Chase animations
- π’ Count up/down animations
Memory Optimized
- πΎ Flash Usage: ~6-8 KB
- πΎ RAM Usage: ~200-300 bytes
- π― Optimized for: CH32V003 and other resource-constrained microcontrollers
π¦ Platform Support
- β CH32V003 (primary target, tested and optimized)
- β Arduino Uno/Nano
- β Arduino Mega
- β ESP32
- β ESP8266
- β Other Arduino-compatible boards
π Documentation
- π Comprehensive API Documentation
- π‘ Example sketches included
- π Full README with wiring diagrams and troubleshooting
π Quick Start
#include <MAX7219_CH32.h>
MAX7219 display(12, 11, 10, 8); // DIN, CLK, CS, digits
void setup() {
display.begin(MAX7219_MODE_DECODE);
display.setBrightness(8);
display.display(12345);
}## π Installation
Arduino Library Manager (Recommended)
- Open Arduino IDE
- Go to Tools β Manage Libraries
- Search for "MAX7219_CH32"
- Click Install
Manual Installation
Download the ZIP and extract to your Arduino libraries folder.
π Links
- π Documentation
- π¬ Issues
- π Repository
π License
MIT License - See LICENSE file for details.
Made with β€οΈ for the Arduino community