|
SBK_MAX72xx library 2.0.5
Low-level driver for controlling multiple MAX7219/MAX7221 LED matrix chips via software SPI.
|
Directories | |
| src | |
Arduino-compatible driver for controlling MAX7219/MAX7221 LED matrix chips. Supports both software and hardware SPI implementations under a unified API, compatible with the SBK_BarDrive animation framework or standalone use.
Download or clone this repository:
File: examples/simpleDemo/simpleDemo.ino
File: examples/simpleDemo/simpleDemo.ino
| Class | Description |
|---|---|
| SBK_MAX72xxSoft | Software SPI driver for MAX72xx chips |
| SBK_MAX72xxHard | Hardware SPI driver for MAX72xx chips |
| Method | Description |
|---|---|
| begin() | Initialize SPI pins and MAX72xx chips |
| clear() | Clear all devices |
| clear(device) | Clear specific device |
| setLed() | Set individual LED state |
| getLed() | Get LED state from buffer |
| setRow() | Set all bits in a row |
| setBrightness() | Set display brightness |
| setScanLimit() | Set number of visible digits (0-7) |
| setShutdown() | Enable or disable a device |
| show() | Push buffer content to all devices |
| show(device) | Push buffer content to specific device |
| Method | Description |
|---|---|
| setSPIClock() | Set SPI clock speed |
| end() | End SPI session |
To use with SBK_BarDrive:
This library is released under the MIT License.