max7219

Library to support 8x8 led matrix with MAX7219

Author Rob Hamerling, Copyright © 2014..2014, all rights reserved.
Adapted-by
Compiler 2.4q2

Description

Library for a module with MAX7219
- serial interface
- 8 x 8 LEDs
.
The max7219 module uses 3 data wires, which have to be specified by the user.
Before including this library declare the following aliases (mandatory):
.
alias max7219_din   is pin_??                    -- pin for data signal
alias max7219_clk   is pin_??                    -- pin for clock signal
alias max7219_cs    is pin_??                    -- pin for chip select signal
.
These pins must be configured for digital output by the user program.
.
When you want to control LEDs individually while retaining the
state of the other LEDs a cache must be used. This is a builtin
feature of this library, but you have to indicate if you want it.
By default the cache is not active, to activate it declare:
.
   const bit MAX7219_DISPLAY_CACHE = TRUE
.
Initialize the max7219 with max7219_init()


Notes

This library is exclusively designed to control a single 8x8 led matrix, the
       features of the MAX7219 chip to display data on 7-segment displays are disabled.


Dependencies


Summary

Global variables/contants

Procedures

Private

Functions


API details

Global variables/contants

Procedures

Private

Functions


Related samples

Here are the list of samples which use this library:

12f150112f1501_max7219.jal
12f157212f1572_max7219.jal
12f68312f683_max7219.jal
16f648a16f648a_max7219.jal
16f72316f723_max7219.jal
16f7316f73_max7219.jal
16f87716f877_max7219.jal
16f877a16f877a_max7219.jal
16f8816f88_max7219.jal
18f245018f2450_max7219.jal
18f252018f2520_max7219.jal
18f255018f2550_max7219.jal
18f262018f2620_max7219.jal
18f45218f452_max7219.jal
18f455018f4550_max7219.jal
18f462018f4620_max7219.jal
18f67j5018f67j50_max7219.jal