olikraus / ucglib

Arduino True Color Library for TFTs and OLEDs
https://github.com/olikraus/ucglib/wiki
Other
261 stars 76 forks source link

drawFrame/drawRFrame draws vertical lines in wrong position #152

Open SaKiEQ opened 2 years ago

SaKiEQ commented 2 years ago

I am using Ucglib_ILI9163_18x128x128_HWSPI tft(DC, CS), which works perfectly fine in terms of initialization and communication. The display is rotated 180 with tft.setRotate180(); .

When drawing any frame the vertical sides become detached and shifted/drawn in the wrong position (tft.drawFrame(2,100, 40,20)). Now the same does not happen without setRotate, ergo there must be a problem with rotating the screen and certain draw functions ?