cancel
Showing results for 
Search instead for 
Did you mean: 

How do I flip the screen up and down

JJ.Lin
Associate III

There ia need to flip the display screen up and down, can I change the direction by config the TouchGFX designer proj or the STM32 LTDC or DMA2D parameters? Thanks

4 REPLIES 4
MM..1
Chief II

No STM cant flip image i know only two ways:

  1. set registers on display controller to flip
  2. create graphics in designer upside down
Romain DIELEMAN
ST Employee

Hi,

As MM said you can either do it through the hardware (with user code or through STM32CubeMX) or by reverting all the graphics. The second option is quite annoying but is the "easiest".

/Romain

Well, thank you for your reply, but how to flip the dynamic value in text if I tried the second scheme?And in the first option do you mean the display driver IC register or the STM32 module : LTDC/DMA2D?

Hi,

You can set the rotation angle of the text in the textArea widgets settings. By setting it to 180 you will have the text "upside down".

For the second option it depends on your display but it should/could be doable through the display driver.

/Romain