Created
October 25, 2019 19:36
-
-
Save borisbrue/b52206792382ce5ef2000ab4ca90dd2d to your computer and use it in GitHub Desktop.
Control Dot-Matrix with ESP32 Wroom
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import max7219 | |
from machine import Pin, SPI | |
spi = SPI(1, baudrate=10000000, polarity=1, phase=0, sck=Pin(14), mosi=Pin(13)) | |
ss = Pin(15, Pin.OUT) | |
display = max7219.Matrix8x8(spi,ss,4) | |
display.text('1234',0,0,1) | |
display.show() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment