-
Notifications
You must be signed in to change notification settings - Fork 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
U8X8_SSD1327_WS_128X128_HW_I2C blocks loop #2461
Comments
Maybe the pull up resistors for the I2C bus are missing? |
pull-ups are present.
I also tried with a adafruit 1306 128x64-display that works fine with an uno and arduino.
Same result: loop blocked.
Gruss
Ruedi
… Am 19.06.2024 um 17:35 schrieb olikraus ***@***.***>:
Maybe the pull up resistors for the I2C bus are missing?
—
Reply to this email directly, view it on GitHub <#2461 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAJMUGG3LIX4KABVZCHRPRTZIGQLXAVCNFSM6AAAAABJORAOKGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNZYHE4TIOBWGM>.
You are receiving this because you authored the thread.
|
I think the constructor is wrong:
See also here: https://github.com/olikraus/u8g2/wiki/u8g2setupcpp#communication |
I don't understand your initial code. Maybe it is better to just use one of the U8g2 examples, which are available in the Arduino IDE (like u8g2 HelloWorld.ino) |
Success! |
I have a program on Atmega328p with platformio and am trying to connect an OLED display with SSD1327 driver.
I include the libs from olikraus:
and set
U8X8_SSD1327_WS_128X128_HW_I2C u8x8(A4,A5);
That compiles well, but
u8x8.begin();
blocks the loop.
My code:
The text was updated successfully, but these errors were encountered: