lexus2k / ssd1306

Driver for SSD1306, SSD1331, SSD1351, IL9163, ILI9341, ST7735, PCD8544, Nokia 5110 displays running on Arduino/ESP32/Linux (Rasperry) platforms

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GPIO 0 doesn't work.

alexmaron81 opened this issue · comments

I would like to control the ssd1351 via SPI.
What would the main.c look like for this?

Hi,

As pointed on the main page in the section "Setting up":

For esp32:

    * Download source from https://github.com/lexus2k/ssd1306
    * Put downloaded sources to components/ssd1306/ folder.
    * Compile your project as described in ESP-IDF build system documentation

That's what I did too.
But I have now found out that the GPIO 0 did not work for the CS pin in the ESP-IDF.
I took a different pin for it.
It's running now

Oh, that's the bug. I will try to fix it. Probably, I know the root cause.

hi @alexmaron81 can u please send me example code for how to use this library using esp-idf?