Code using the Max7219 display driver that controls a matrix of LEDs.