Arduino_GFX
I found how to fix the "bug" and I added coordinate shift to have the screen circle centre at the cursor pos:(63, 63).
In this case when you change the orientation – you just gonna change the position on the “flat spot” where cabel connection is. The configuration line will be like below:
Arduino_GFX gfx = new Arduino_GC9107(bus, 7, 0 / rotation /, true / IPS */, GC9107_TFTWIDTH, GC9107_TFTHEIGHT, 0, 13, 0, 0); //Cable at the BOTTOM, pos:(63.63) at the screen radis center
or
Arduino_GFX gfx = new Arduino_GC9107(bus, 7, 1 / rotation /, true / IPS */, GC9107_TFTWIDTH, GC9107_TFTHEIGHT, 0, 13, 0, 0); //Cable at the RIGHT, pos:(63.63) at the screen radis center
or
Arduino_GFX gfx = new Arduino_GC9107(bus, 7, 2 / rotation /, true / IPS */, GC9107_TFTWIDTH, GC9107_TFTHEIGHT, 0, 0, 0, -13); //Cable at the TOP, pos:(63.63) at the screen radis center
or
Arduino_GFX gfx = new Arduino_GC9107(bus, 7, 3 / rotation /, true / IPS */, GC9107_TFTWIDTH, GC9107_TFTHEIGHT, 0, 0, 0, -13); //Cable at the LEFT, pos:(63.63) at the screen radis center
Thanks.
I think this topic can be closed....