-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Doesn't work with ESP32-C3 #2226
Comments
Which constructor did you use |
I think it's related |
For u8g2 the i2c address has to be multiplied by 2 (see reference manual). |
You're amazing! I'm not sure where to find this in the reference manual (I've searched and haven't found it). But it works! Doubled I2C address works! |
See the argument description. There are also several issues related to this question. |
Should it always be doubled, no matter if it's C3 or another chip? |
Yes. |
Thank you! |
Maybe, the Bus clock, in Standard in arduino esp32 it is fixed to 1MHz.. the ssd1306 has a Maximum specification on 400Khz. I cant find the u8G2 init to 400khz in source. You can try u8g2.setBusClock(400000); before u8G2.begin()? My fail? I dont have a C3 to Test it. |
Hmm, I guess I missed to answer this. See here for further info: #821 |
I tried almost every combination on my Wemos C3 mini and none of the options worked. I've tried putting an I2C address, changing SDA and SCL, combining settings, but all to no avail. There is some kind of bug, as there are libraries that work with the same device fine
For example, that works: https://github.com/ThingPulse/esp8266-oled-ssd1306
The text was updated successfully, but these errors were encountered: