

On register 9 you send "0" to send bare segments as data, or "FF" if you want the chip to decode from 0~9 to respective segments. Sending bytes in SPI to the 7219 is easier, you just need to know the sequency of 7219 initialization and then byte to show the digits. So to drive 64 LEDs only need 3 ports of the microcontroller. To communicate with a microcontroller, MAX7219 uses the SPI communication system.


Max7219 is pretty simple to program and use, you don't need obscure libraries wrote by somebody else to run it, you can do it in assembly and fast. MAX7219 is an IC that is used to drive 7-segment LEDs (up to 8 digits), block displays (bar displays), and 64 individual LEDs that are comon cathodes. Learning and understanding the work, could astonishing done if you go with Assembly language. XXThiagox3dDXx wrote: the idea is not use arduino because its all already done, and bascom ( a lenguaje of basic) whil make us do a better understanding of work
