FabGL
ESP32 Display Controller and Graphics Library
|
|
virtual |
Sets SSD1306 resolution and viewport size.
Viewport size can be larger than display size. You can pan the view using SSD1306Controller.setScreenCol() and SSD1306Controller.setScreenRow().
modeline | Native display reoslution. Possible values: OLED_128x64 and OLED_128x32. |
viewPortWidth | Virtual viewport width. Should be larger or equal to display native width. |
viewPortHeight | Virtual viewport height. Should be larger or equal to display native height. |
doubleBuffered | if True allocates another viewport of the same size to use as back buffer. |
Implements BaseDisplayController.
Definition at line 164 of file SSD1306Controller.cpp.