Change text orientation on Grove - OLED display?

General information

Moderators: lily.li, violet

Post Reply
oliver.staberg
Pre-kindergarten
Pre-kindergarten
Posts: 1
Joined: Fri Nov 23, 2018 9:29 pm

Change text orientation on Grove - OLED display?

Post by oliver.staberg » Thu Mar 21, 2019 6:04 pm

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
Attachments
oled display1.jpg
oled display1.jpg (61.88 KiB) Viewed 2084 times

User avatar
olikraus
Pre-kindergarten
Pre-kindergarten
Posts: 7
Joined: Sun Mar 31, 2019 12:44 am

Re: Change text orientation on Grove - OLED display?

Post by olikraus » Tue Apr 23, 2019 4:31 am

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

Post Reply