-
Notifications
You must be signed in to change notification settings - Fork 2.1k
pkg/lvgl: support monochrome displays via u8g2 #21726
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
Conversation
crasbe
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Again, only style related.
|
Fixed! |
I never noticed that, because it's only available when logged in :) |
crasbe
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please squash :)
8e58cf5 to
1dae523
Compare
|
Thanks for the review! |
|
This is great, thanks a lot @leandrolanzieri ! ❤️ |


Contribution description
This enables using monochrome displays via the Display Device Generic API and the u8g2 package.
I've tested this on two displays with the 1306 driver. In the examples below there's a random counter that updates a label and a line plot on the left.
I2C
i2c.webm
SPI
(ignore PCB marking, connection is a 4-wire SPI :)
spi.webm
Testing procedure
The test application
tests/pkg/lvglshould work after adapting it to the correct resolution.Issues/PRs references
Depends on #21725