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

Faster char write #446

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

nathanjshaffer
Copy link

[Sped up char writing with built in font by grouping pixels in column of character map then using writeFillRect() for less spi overhead. With transparent background this speeds up line write speed by about half, with non-transparent background it's about 3 times faster.

change GFXbutton private members to protected
reduced drawChar function write time by about half by collecting similar pixels in a column and writing once with faster rect function
Bugfix
clang

Document member variables in  Adafruit_GFX_Button

corrected compile arrors

more clang

fixed variable documentation
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

Successfully merging this pull request may close these issues.

1 participant