0 votes
in ESP8266 OLED Starter Kit by (550 points)
Is there a rotation property? My display is upside down relative to the header pins: Vcc, gnd, scl, sda

The screenshots on the library page show it 'right side up' https://github.com/squix78/esp8266-oled-ssd1306

I see void flipScreenVertically() does that do a 180 rotation?

1 Answer

0 votes
by (10.9k points)
selected by
Best answer
Yes, flipScreenVertically() does a 180 degree rotation. Just be aware that a ui.init() resets the orientation of the display. So after calling ui.init() you might have to call flipScreenVertically again...

Welcome to ThingPulse Q&A, where you can ask questions and receive answers from other members of the community.