Adafruit_SSD1351_Library with rotation support

Hi @peekay123!
Thanks for your work on the Adafruit_SSD1351_Library!

I have ported over the rotation support from the original library and will send you a pull request on Github for https://github.com/mikeseeh/Adafruit_SSD1351_Library/commit/04a197ca9cb1ea6bda94330e8c5601cfdb5c9a86

The library supports now:

void setRotation(uint8_t rotation);

The rotation parameter can be 0, 1, 2 or 3.
See also https://learn.adafruit.com/adafruit-gfx-graphics-library/rotating-the-display

Have a great day!

Cheers,
Mike

3 Likes