7 years, 4 months ago.

SetFont(sFONT *fonts);

SetFont(sFONT *fonts);

I CAN NOT UNDERSTAND THE WAY TO CHANGE THE SIZE OF THE LETTER. SOME HELP, PLEASE?

Question relating to:

The STM32F746G-DISCO discovery board (32F746GDISCOVERY) is a complete demonstration and development platform for STMicroelectronics ARM® Cortex®-M7 core-based STM32F746NGH6 microcontroller.

1 Answer

7 years, 4 months ago.

There's an example here https://developer.mbed.org/teams/ST/code/DISCO-F746NG_LCDTS_demo/?platform=ST-Discovery-F746NG that includes changing/setting the font size

lcd.SetFont(&Font12); // Font12 can be Font8, Font16, Font20 or Font24

This may help if you want to create your own custom fonts https://developer.mbed.org/questions/73866/Big-Font-STM32F746G-Discovery/

Accepted Answer

Thank you very much for the information

posted by Javier Dominguez Blanco 29 Nov 2016