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

Display buffer occupies a large amount of memory #14

Open
ezod opened this issue May 16, 2022 · 1 comment
Open

Display buffer occupies a large amount of memory #14

ezod opened this issue May 16, 2022 · 1 comment
Assignees

Comments

@ezod
Copy link
Member

ezod commented May 16, 2022

The entire OLED display buffer is currently stored in memory for simplicity and performance. However, this consumes a large proportion of the limited (2K) memory available on the ATMEGA328P. As it is possible to read from the buffer stored on the SH1106 itself, it may be possible to cache a subset of pages instead. Ideally, this would have zero performance impact in the case where the subset of pages is the whole display. Also, ideally, this would not require significant changes to the low-level display API.

@ezod ezod self-assigned this May 16, 2022
@ezod
Copy link
Member Author

ezod commented Aug 5, 2022

Could potentially be solved by porting everything to U8g2.

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