Skip to content

Instantly share code, notes, and snippets.

@borisbrue
Created October 25, 2019 19:36
Show Gist options
  • Save borisbrue/b52206792382ce5ef2000ab4ca90dd2d to your computer and use it in GitHub Desktop.
Save borisbrue/b52206792382ce5ef2000ab4ca90dd2d to your computer and use it in GitHub Desktop.
Control Dot-Matrix with ESP32 Wroom
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