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

Add high speed color drawBitmap function #23

Closed
wants to merge 4 commits into from
Closed

Conversation

LAK132
Copy link

@LAK132 LAK132 commented Feb 16, 2018

Drawing a color bitmap to the entire screen with drawPixel takes several seconds on an ESP32, this function does the same thing in 250ms (video)

A 16bit 220x176 image stored in contiguous memory would be much too large for most devices, so the function uses uint16_t** to allow for non-contiguous memory

@Nkawu
Copy link
Owner

Nkawu commented Feb 28, 2018

HI, sorry for the slow response. I just committed v1.3.5 of the library which had changes for STM32 F1 & ESP32 to speed things up. Can you try it to check if it works before I try to merge your changes?

@LAK132
Copy link
Author

LAK132 commented Mar 1, 2018

Latest update caused it to draw with x positions reversed, I have fixed that in the last commit

@Nkawu
Copy link
Owner

Nkawu commented Mar 1, 2018

Thanks I have merged your changes into v1.3.6. Can you send me a sample program to include in the examples folder please?

@Nkawu Nkawu closed this Mar 19, 2018
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.

2 participants