Jump to: navigation, search

Flip display upside-down. This is documented in Arduino code (it's part of the display object), but this Pi side because there are rotation and display names, but they are quite different semantically because there is a display method, but it's a request to display a graphical object on the device. On the Raspberry Pi side there there is a device class instance variable called rotate. So the trick is to simply get a device instance then set device.rotate=2 and then future updates to the display should be painted upside-down. You can also set rotate to 1 or 2 if you want to rotate 90 degrees to a portrait mode; although, this also flips the aspect ratio.