2022-10-26 02:33 AM
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
2022-10-26 03:23 AM
You'd presumably have a bitmap font table and you'd paint the characters into the frame buffer.
2022-10-26 03:26 AM
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
2022-10-26 03:46 AM
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..
2023-01-27 06:07 AM
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