Command to rotate the Scroll pHAT display 180°


#1

Hi there. As the subject suggests, is there a Python command in the Scroll pHAT library to rotate the display 180 degrees? Thanks.


#2

Farly sure there isn’t yet, but keep an eye on this:


#3

Ah. Excellent. Using the right-angle header supplied with the Scroll pHAT kit means the pHAT naturally sits upside-down when vertical, so the ability to rotate the display would be very useful.


#4

I also wondered about modding the library to flip the buffer when rendering it on update. I had a look but didn’t get round to working out a patch.