FabGL
ESP32 Display Controller and Graphics Library

◆ setOrientation()

void setOrientation ( SSD1306Orientation  value)

Set display orientation and rotation.

Parameters
valueDisplay orientation and rotation

Example:

// rotate by 180 degrees
DisplayController.setOrientation(fabgl::SSD1306Orientation::Rotate180);

Definition at line 323 of file SSD1306Controller.cpp.