Skip to main content
tk.11
Associate
October 26, 2022
Question

How to display a string/text to GFX01m2 without going through Touch GFX?

  • October 26, 2022
  • 3 replies
  • 1409 views

Hi all,

Still

kind of new here.

I’m trying to display a string on a screen, just a basic hello world or any other

string, just by using the CubeIDE without having to go through TouchGFX.

I have found some code to display pictures, but {I am not sure how to proceed

with displaying text.

Is there any existing library or code example I could use?

Thanks

in advance

This topic has been closed for replies.

3 replies

Tesla DeLorean
Guru
October 26, 2022

You'd presumably have a bitmap font table and you'd ​paint the characters into the frame buffer.

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
tk.11
tk.11Author
Associate
October 26, 2022

So I need to draw the letters myself through a bitmap, there isn t any direct way of doing it then?

Thanks for the info

Tesla DeLorean
Guru
October 26, 2022

You could pull a data sheet for the screen controller chip, but I'd assume it's just painting the frame buffer not handling text or sprites..​

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
Karim BEN BELGACEM
ST Employee
January 27, 2023

Hi @tk.1​ 

New HelloWorld examples from X-CUBE-DISPLAY pack are now displaying texts using the ST BSP Utilities.

Please have a look to these new enhanced application from the new release of X-CUBE-DISPLAY.3.0.0 available from both STM32CubeMX-6.7.0 and https://www.st.com/en/embedded-software/x-cube-display.html

Have fun...

Karim