[Solved]How can I connect m5stack spi 4 wire connect to oled rgb display
-
Hi,
how can I connect with this display:
link textto m5stack
interfejs SPI 4 wire
library driver:
link textlanguage:| python
"
"""SSD1351 demo (fonts)."""
from time import sleep
from ssd1351 import Display, color565
from machine import Pin, SPI
from xglcd_font import XglcdFontdef test():
"""Test code."""
spi = SPI(2, baudrate=14500000, sck=Pin(18), mosi=Pin(23))
display = Display(spi, dc=Pin(17), cs=Pin(5), rst=Pin(16))....
" -
You can connect to some gpio pins. Because of esp32, the peripheral functions can be mapped to any gpio pins. So you can use any gpio to realize it expect of GPIO34-39 which are input pin only.
-
The pinouts of the m5stack are similar to most esp32 dev boards, perhaps this tutorial will help https://www.youtube.com/watch?v=a7DrFqqu-78&feature=youtu.be