-
Notifications
You must be signed in to change notification settings - Fork 89
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
Add u8g2 library support #363
Conversation
10b34db
to
63c9f79
Compare
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.
I think there is very little to approve here. The changes to libtock are minimal. The main body of code is in u8g2/u8g2-tock.c
, which specializes the u8g2 library for Tock. Here, the main thing that is not straightforward is dynamically setting the screen info based on the what the driver responds in u8x8_d_ssd1306_tock
.
The code here is not very self explanatory, and I needed to dig through the u8g2 library code to understand the flow of operations.
I haven't looked yet, but given that Amit approves and Tyler has tested this, I think we can safely |
u8g2 is a C library for creating text and graphics on monochrome displays.
This uses the screen driver with the u8g2 library.
I also included a handful of demo apps.