cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamic display rotation for touchgfx.

pranavmv012
Associate II

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. 

1 REPLY 1
LouisB
ST Employee

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 BOUDO
ST Software Developer | TouchGFX