Interfacing LED displays with the MAX7219 driver in Python