import max7219
from machine import Pin, SPI
import time
# Pinbelegung
# Pin 13 --> DIN
# Pin 14 --> CLK
# Pin 27 --> CS
# Initialisierung
spi = SPI(1)
display = max7219.Matrix8x8(spi, Pin(27), 1)
while True:
# Zeige I an
display.text('I',0,0,1)
display.show()
time.sleep(2)
display.fill(0)
# Zeige o an
display.text('o',0,0,1)
display.show()
time.sleep(2)
display.fill(0)
# Zeige T an
display.text('T',0,0,1)
display.show()
time.sleep(2)
display.fill(0)