BRT Community

General Category => Discussion - EVE => Topic started by: maria@dsg-id.com on July 11, 2025, 12:22:42 PM

Title: Screen flip on a FT813
Post by: maria@dsg-id.com on July 11, 2025, 12:22:42 PM
Hello:

I am making a new display on a ft-813 and want to rotate it so I can see the information with the display in portrait.

I have tried the REG_ROTATE = 2 and I rotate the drawings, texts and rectangles but the touch only works in half of the screen. would there be any way to solve that and that the touch works on the entire screen?
if there is no way to rotate the texts, because the rectangles with paint x and y would solve it, but the texts I can not find a way.

Thank you very much
Title: Re: Screen flip on a FT813
Post by: BRT Community on July 11, 2025, 01:37:02 PM
Hi Maria,

To get your touch working, we recommend to use the CMD_SETROTATE instead of the register write. The command writes the REG_ROTATE register for you but also does the touch rotation.

If you calibrate your touchscreen after start-up and then use the command, this will rotate your touch as well as your graphics, and so the touch will work well across the full screen.


Best Regards, BRT Community



 
Title: Re: Screen flip on a FT813
Post by: Rudolph on July 11, 2025, 01:38:27 PM
That indicates that you did the touch calibration without rotation.
Either use CMD_SETROTATE which also adjusts the touch transform matrix, or calibrate the touch after setting REG_ROTATE.

Edit: damn, 35s too slow because I had to get up and turn off the washing mashine.  :)