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

Some simple functions for manipulating display buffer/partial updates #5

Merged
merged 6 commits into from
Dec 12, 2019

Conversation

PaulKlinger
Copy link
Contributor

Hi,

I've added some simple functions I needed for a project:

  • lcd_goto_xpix_y to go to a specific x coordinate instead of a character
  • lcd_clear_buffer to clear the display buffer
  • lcd_check_buffer to read a pixel value from the buffer
  • lcd_display_block to send only part of the buffer to the display (this can increase performance a lot if only a small part is updated)

Feel free to close if you don't think these would be useful.

Added functions to move to goto a specific x pixel, clear display buffer, read from display buffer, and transfer only a portion of the buffer to the display.
@Sylaina Sylaina merged commit 525ecf6 into Sylaina:master Dec 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants