max7219_8digit
max7219_8digit copied to clipboard
8digit 7 segment display with STM32F411 SPI issue
While I was trying to use this code to display the example program for STM32F411 webact studio Blackpill with Max7219 display. The display was blank. I suspected the SPI issue. I tried SPI interface from pyb. It has specification for SPI.MASTER. the changed line is as follows
from pyb import SPI spi = SPI(1,SPI.MASTER, baudrate=200000, polarity=1, phase=1)