Skip to main content
Ebun.1
Senior
June 23, 2020
Solved

Liquid crystal direction

  • June 23, 2020
  • 2 replies
  • 649 views

Thank you for helping.

If I want to turn the LCD over 180 degrees, can I change it with software?

Thank you.

This topic has been closed for replies.
Best answer by Romain DIELEMAN

Hi,

Designer does not support 180 degree rotations. You may be able to rotate your display 180 degrees through hardware configuration. The hw config solution should be investigated first, because this software solution is very inefficient: you rotate the framebuffer but at a significant performance cost. It is an expensive operation since pixels must be swapped on both X and Y axis. It leads to very inefficient RAM accesses. Here is a link to another community post where they talk about it. You have some sample code as well.

/Romain

2 replies

Romain DIELEMAN
Romain DIELEMANBest answer
ST Employee
June 23, 2020

Hi,

Designer does not support 180 degree rotations. You may be able to rotate your display 180 degrees through hardware configuration. The hw config solution should be investigated first, because this software solution is very inefficient: you rotate the framebuffer but at a significant performance cost. It is an expensive operation since pixels must be swapped on both X and Y axis. It leads to very inefficient RAM accesses. Here is a link to another community post where they talk about it. You have some sample code as well.

/Romain

Ebun.1
Ebun.1Author
Senior
June 23, 2020

Thank you for your reply.

I understood.