note that you can also most likely rotate the display, it has an inverse X and inverse Y bit in a register by swapping these you can write test in any direction you want ans this will give the orientation of the display.
https://www.avrfreaks.net/comment...
I have an idea for a project which could be in one of six orientations (a hexagonal box that could be "standing" on any one of the six edges).
There would be a display, so this would need to be able to rotate the "content" to these six orientations.
So I'm wondering if there are LCD controllers which can do the rotation "internally" - or if I'd have to do it in code ?
If I have to do it in code, I guess meslomp's tip would mean I'd only actually need to do three rotations - and then use the "inverse X / Y" to get the other three ... ?
It's all just conjecture at the moment.