igbit / micro-displays

Micro Displays for Raspberry Pi
Apache License 2.0
295 stars 14 forks source link

Rotating the screen for 240x240 #13

Open SteveJos opened 1 year ago

SteveJos commented 1 year ago

Hey @igbit ! Awesome project! I use it in a case for my RPI4 and it looks great!

However I struggle to rotate the screen upside down properly. I found out that the MADCTL hex byte is kind of rotating the screen, but unfortunately it works for 90 degree only. When I try to rotate 180 degree the layout is getting messed.

Did you managed to rotate it properly?

Thank you in advanced!!

igbit commented 1 year ago

Thanks for your message - I haven't played with this stuff for a while. Let me try and get back to you as soon as I can.