Original project https://github.com/wayoda/LedControl go there
An Arduino library for MAX7219 and MAX7221 Led display drivers