max7219
A platform agnostic driver to interface with the MAX7219 (LED display driver)
What works
- Powering on/off the MAX chip
- Basic commands for setting LEDs on/off.
- Chaining support (max 8 devices)
- Hardware SPI support (with or without CS pin)
Changelog
Example
Example projects are at this repo
Here is a simple example for using the MAX7219 on a hifive1-revb device with e310x_hal:
extern crate panic_halt;
use entry;
use *;
use DeviceResources;
use pin;
use *;
!
Credits
Original work by Maikel Wever. Adapted to latest embedded-hal and documented by Ales Katona.
License
Licensed under MIT license (LICENSE or http://opensource.org/licenses/MIT)