Skip to content

MAX7219_CH32 v1.0.0 - Initial Release

Latest

Choose a tag to compare

@me-RK me-RK released this 05 Nov 20:57

πŸŽ‰ 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)

  1. Open Arduino IDE
  2. Go to Tools β†’ Manage Libraries
  3. Search for "MAX7219_CH32"
  4. Click Install

Manual Installation

Download the ZIP and extract to your Arduino libraries folder.

πŸ”— Links

πŸ“„ License

MIT License - See LICENSE file for details.


Made with ❀️ for the Arduino community