mirror of
https://gitcode.com/gh_mirrors/es/esp32-opencv.git
synced 2025-08-18 05:18:39 +08:00
Workaround for 240x240 screen rotation issue
- The st7789 controller is for 320x240 screen, but the screen is 240x240, therefore when screen is rotated, an offset of 80 must be added depending on the orientation - Also added some comments
This commit is contained in:
@ -234,7 +234,7 @@ public:
|
||||
void invertDisplay(bool i);
|
||||
|
||||
/*Not useful for user, sets the Region of Interest window*/
|
||||
inline void setAddrWindow(uint16_t x0, uint16_t y0, uint16_t x1, uint16_t y1);
|
||||
void setAddrWindow(uint16_t x0, uint16_t y0, uint16_t x1, uint16_t y1);
|
||||
|
||||
/**
|
||||
* @brief Scroll on Y-axis
|
||||
|
Reference in New Issue
Block a user