Mirroring OLED horizontally

Hello!

I am currently working with an SSD1306-based 128x64 I2C OLED for smart glasses. I have an issue where the screen can be mirrored vertically with the commands (in the Adafruit SSD1306 library):

display.ssd1306_command(0xC8);

which yields a result like this:

Original:

hello world

With command (the font is reversed as well IRL but not here):

ɥǝllo ʍoɹlp

I need it to be like this though:

Original:

hello world

With command (I need the font mirrored as well):

dlrow olleh

I was wondering if there was a command in the datasheets for the latter.

Thank you in advance!!

U8g2 includes a mirror option:

See here: gallery · olikraus/u8g2 Wiki · GitHub

Oliver

epicface2304:
Hello!

I am currently working with an SSD1306-based 128x64 I2C OLED for smart glasses. I have an issue where the screen can be mirrored vertically with the commands (in the Adafruit SSD1306 library):

display.ssd1306_command(0xC8);

which yields a result like this:

Original:

hello world

With command (the font is reversed as well IRL but not here):

ɥǝllo ʍoɹlp

I need it to be like this though:

Original:

hello world

With command (I need the font mirrored as well):

dlrow olleh

I was wondering if there was a command in the datasheets for the latter.

Thank you in advance!!

0xA0 and 0xA1 disable and enable horizontal mirroring (called segment remap in the datasheet)

Works like a charm! Thanks!!!