How to draw number or word on LCD display with SDK on DevKit?

Hello,

I am using Devkit (96 board) and SDK.

I have gotten a result of float number, and I want to write it on display.

However, the functions in SDK only include draw rect, draw line, and draw bitmap.

Is there any way to draw number or word? or shall I use draw line function many times?

Comments

  • Hi,

    Unfortunately, we currently don't have a function that draws numbers/words. If you really need it, you'll have to write your own text library inside KL520 for converting your numbers/words into pixels, then modify the code in the display driver to draw them on your display.

    In addition, you might need to know how to let the program recognize the texts and how to draw out the font. You could also refer to the link: https://www.23bei.com/tool/224.html

The discussion has been closed due to inactivity. To continue with the topic, please feel free to post a new discussion.