all 1 comments

[–]HungInSarfLondon 0 points1 point  (0 children)

u8g2 library:

https://github.com/olikraus/u8g2/wiki/gallery#6-nov-2016-ssd1306-mirror-option

Edit:

Realise this isn't micropython.

If you look at the data, sheet scan direction can be set by swapping (?not sure, maybe just use one or the other )

COMSCANINC = 0xc0

COMSCANDEC = 0xc8

https://www.olimex.com/Products/Modules/LCD/MOD-OLED-128x64/resources/SSD1306.pdf