FabGL
ESP32 Display Controller and Graphics Library
|
void fabgl::TFTController::setOrientation | ( | TFTOrientation | value, |
bool | force = false |
||
) |
Set display orientation and rotation.
value | Display orientation and rotation |
Example:
// rotate by 180 degrees DisplayController.setOrientation(fabgl::TFTOrientation::Rotate180);