st7789 icon indicating copy to clipboard operation
st7789 copied to clipboard

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

Open ImAmelie opened this issue 2 years ago • 1 comments

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

ImAmelie avatar Nov 26 '23 08:11 ImAmelie

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.

libdriver avatar Dec 10 '23 10:12 libdriver