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

SSD1306 Dsisplay issue #361

Open
MorgothCreator opened this issue Oct 19, 2023 · 1 comment
Open

SSD1306 Dsisplay issue #361

MorgothCreator opened this issue Oct 19, 2023 · 1 comment

Comments

@MorgothCreator
Copy link

Thank you for the great LIB you have developed.
Is first time I try to use your library and I encounter an issue with all examples using SSD1306 displays, I do not used any other displays yet.

The issue is that it refreshes only the first row, seems that the driver is making his job correctly because the rest of the display is showing the uninitialized allocated RAM of the display buffer, seems that the painting lib does not write the correct buffer pixels, not even the clear function, is stretching horizontally something like the buffer is not 128 pixerls x 8 rows but 1024 pixels x 1 row.

@MorgothCreator
Copy link
Author

MorgothCreator commented Oct 19, 2023

Fixed it, replace:

  • SSD1306_sendCmd(SSD1306_MEMORYMODE, 0b100);

with:

  • SSD1306_sendCmd(SSD1306_MEMORYMODE, 0b000);

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

1 participant