Open alejandro-anv opened 5 years ago
I sugest a modification:
After oled.init, add:
oled.init(); **oled.flipScreenVertically();**
This will leave the screen with the same orientation of the camera.
And when flipping the camera: en = en ? 0 : 1; s->set_vflip(s, en);
**if (en) oled.resetOrientation(); else oled.flipScreenVertically(); oled.display();** #endif
I sugest a modification:
After oled.init, add:
ifdef ENABLE_SSD1306
This will leave the screen with the same orientation of the camera.
And when flipping the camera: en = en ? 0 : 1; s->set_vflip(s, en);
ifdef ENABLE_SSD1306