from Max7219Textscroller import MatrixTextscroller
from max7219 import Matrix8x8
import max7219
from machine import Pin, SPI
def init():
spi1 = SPI(1)
scroller1 = Matrix8x8(spi=spi1, cs=Pin(15), num=4)
scroller1.text('1234',0,0,1)
scroller1.show()
scoller1 = MatrixTextscroller(spi1, SPIpin=15, screens=4)
scoller1.debug = False
scoller1.scrollText(textToScroll=' Hallo1239809876543210 1 2 3 4 5 6 7 8 9 0 ')
print('App start')
init()
print('App eind')