A arduino library for the MAX7221 and MAX7219
These two chips provide an easy way to control either an array of 64 Led’s or up to eight digits made of 7-segment displays with a minimum of electronic components. Besides the chip itself you will need only a single resistor and one or two capacitors. Data is send to the chip using a SPI-compatible protocol using 3 of the digital pins on the arduino. If you want control more than eight 7-segment displays (or more than 64 Led’s) the chips can be cascaded.
   A arduino library for the MAX7221 and MAX7219
at www.wayoda.org