Page 1 of 1

Change text orientation on Grove - OLED display?

Posted: Thu Mar 21, 2019 6:04 pm
by oliver.staberg
Hi can someone please help me out here,

I using the Grove – OLED Display 1.12” V2.
I want to change the orientation of the text that is printed to display.
I have tried the “SeeedGrayOled.setVerticalMode();” and “SeeedGrayOled.setHorizontalMode();” commands but I do not understand what they do. What do these functions do?
Unfortunately they do not change the text orientation ☹
• How do I change the orientation of the text printed to the display? See image below.

Image

Br
//Oliver

Re: Change text orientation on Grove - OLED display?

Posted: Tue Apr 23, 2019 4:31 am
by olikraus
Hi Oliver

Today I have finished the u8g2 support for the 128x128 Grove OLED (https://github.com/olikraus/u8g2/wiki/g ... tudio-oled). U8g2 support different text orientation (https://github.com/olikraus/u8g2/wiki/u ... tdirection).

Only drawback is: You must install the latest u8g2 beta release (2.26.2), which is available for download here: https://github.com/olikraus/U8g2_Arduino
Once you have downloaded the zip file, you can install u8g2 via the Add zip library menu of the Arduino IDE.

Oliver