.. _rotations: rotations.py ============ .. figure:: ../_static/rotations.jpg :align: center Test for rotations and colors. Rotates the display 0, 90, 180, and 270 degrees and displays the rotation number and the color of the display background. .. note:: This example requires the following modules: .. hlist:: :columns: 3 - `st7789py` - `tft_config` - vga1_16x16 .. literalinclude:: ../../../examples/rotations.py :language: python :linenos: :lines: 1-