Util library for MAX7219-powered LED matrix displays written in Rust for Linux (Raspberry Pi).
This is a no_std
utility library on top of max7219
-crate that allows you to easily display
text on dot matrix displays. The main purpose of this lib is educational. There aren't mappings for all chars yet!
Feel free to contribute on Github!
no_std
support vs usage on Raspberry Pi
By default, this crate requires std
and provide easy setup functions using gpio_cdev
-crate on Raspberry Pi for example.
If you need no_std
, disable the default features.
Cargo.toml
[]
= "<latest-version>"
# or if you need `no_std`
= { = "<latest-version>", = false }
Usage example (std
)
use setup_adapter;
use ;
const NUM_DISPLAYS: usize = 4;
MSRV
The MSRV is 1.56.1
.
Thanks to
Thanks to the creators of the max7219
-crate!