max7219 module

class max7219.Matrix8x8(spi, cs, num)[source]

Wrap the MAX7219 Matrix driver

Parameters:
  • spi – The SPI port to use
  • cs – The CS pin to use
  • num – The number of matrices
brightness(value)[source]

Set the display brightness

Parameters:value – The birghtness. Between 0 and 15 inc.
init()[source]

Initialise the display driver

show()[source]

Show the display buffer