cancel
Showing results for 
Search instead for 
Did you mean: 

Liquid crystal direction

Ebun.1
Senior

Thank you for helping.

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

Thank you.

1 ACCEPTED SOLUTION

Accepted Solutions
Romain DIELEMAN
ST Employee

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

View solution in original post

2 REPLIES 2
Romain DIELEMAN
ST Employee

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

Thank you for your reply.

I understood.