Skip to main content
pranavmv012
Associate II
March 3, 2025
Question

Dynamic display rotation for touchgfx.

  • March 3, 2025
  • 1 reply
  • 351 views

Hello,

I am using a 480*480 display(st7701s driver) with STM32H745BIT6. I would like to rotate the touchgfx screen dynamically based accelerometer output. How to do this. I would like to rotate the screen 0, 90, 180 and 270 degrees and should be possible as the width is equal to height. 

Thanks in advance. 

This topic has been closed for replies.

1 reply

ST Employee
March 4, 2025

Hello @pranavmv012,

You may look at the SnapshotWidget | TouchGFX Documentation ,that allows you to copy the framebuffer and store it in a bitmap.
BR,

Louis BOUDOST Software Engineer | TouchGFX