cancel
Showing results for 
Search instead for 
Did you mean: 

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

tk.11
Associate

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

4 REPLIES 4

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 Venmo
Up vote any posts that you find helpful, it shows what's working..
tk.11
Associate

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

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 Venmo
Up vote any posts that you find helpful, it shows what's working..
Karim BEN BELGACEM
ST Employee

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