stlehmann / micropython-ssd1306

A fork of the driver for SSD1306 displays to make it installable via upip
MIT License
120 stars 41 forks source link

Not work multiple display #4

Open savasg opened 2 years ago

savasg commented 2 years ago

Not work multiple display. Work only latest ininztalize.

if

oled1 = SSD1306_SPI(128, 64, spi, Pin(17),Pin(20), Pin(16)) oled3 = SSD1306_SPI(128, 64, spi, Pin(17),Pin(20), Pin(13)) oled2 = SSD1306_SPI(128, 64, spi, Pin(17),Pin(20), Pin(14))

work only oled2

oled1 = SSD1306_SPI(128, 64, spi, Pin(17),Pin(20), Pin(16)) oled2 = SSD1306_SPI(128, 64, spi, Pin(17),Pin(20), Pin(14)) oled3 = SSD1306_SPI(128, 64, spi, Pin(17),Pin(20), Pin(13))

work only oled3

if i control the cs pins myself it works correctly