Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GPIO 0 doesn't work. #128

Open
alexmaron81 opened this issue Apr 27, 2021 · 4 comments
Open

GPIO 0 doesn't work. #128

alexmaron81 opened this issue Apr 27, 2021 · 4 comments
Assignees
Labels

Comments

@alexmaron81
Copy link

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

@lexus2k
Copy link
Owner

lexus2k commented Apr 27, 2021

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

@alexmaron81
Copy link
Author

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

@lexus2k lexus2k added the bug label Apr 29, 2021
@lexus2k
Copy link
Owner

lexus2k commented Apr 29, 2021

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

@chandanchan0086
Copy link

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

@lexus2k lexus2k removed the question label Oct 27, 2021
@lexus2k lexus2k changed the title How can I use the library with esp-idf? GPIO 0 doesn't work. Oct 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants