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

Printing strings is very slow, and printing pictures is faster than printing strings. #1

Open
ImAmelie opened this issue Nov 26, 2023 · 1 comment

Comments

@ImAmelie
Copy link

Version

1.0

Describe the bug

Printing strings is very slow, but printing pictures is super fast.

Code location L294

Reproduce

I use project/raspberrypi4b , st7789_basic_string is very slow.

Expected behavior

No response

Additional context

No response

@libdriver
Copy link
Owner

Hello, thank you very much for using LibDriver. String output relies on a single point drawing function, and the display of each character is equivalent to drawing multiple points that's why the speed is slow. We will update it to matrix filling later, which can greatly improve the display speed of character strings. Thank you for your suggestion.

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

2 participants