Skip to content

eastRising 64x48 Oled #2629

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

Open
monoplex opened this issue Apr 15, 2025 · 1 comment
Open

eastRising 64x48 Oled #2629

monoplex opened this issue Apr 15, 2025 · 1 comment

Comments

@monoplex
Copy link

I'm having problems with the eastRising 64x48 I2C Oled. The constructor used is U8G2_SSD1306_64X48_ER_F_HW_I2C u8g2(U8G2_R0).

The issue appears to be that the screen output is offset. I have been looking through the U8g2 library code where I might find some offset parameters to reposition Oled RAM onto the display.

I have a working Oled from a different manufacturer and the test code correctly displays as shown.

Image

With the same constructor and test code, on the eastRising display I get:

Image

For reference, as it may be useful, I also used a 128x64 display with the constructor U8G2_SSD1306_128X64_NONAME_F_HW_I2C u8g2(U8G2_R0, RESET) and running the same test code get:

Image

I hope I haven't been stupid and missed something obvious.

Thanks

@olikraus
Copy link
Owner

You can adjust the x-offset here:

/* default_x_offset = */ 32,

For the y offset try this:
u8g2.sendF("c", 0x040 + y);
where y is the offset value.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants