This exercise run on ESP32-C3-DevKitM-1 in arduino-esp32 framework, display on unknown brand 0.96" 80x160 IPS.
In this exercise, I create a custom class (MyST7735) extend Adafruit_ST7735:
call setColRowStart(26, 1) in init() to correct the shifting.
override setRotation() function, to use ST7735_MADCTL_BGR instead of ST77xx_MADCTL_RGB.
code available: https://embedded-things.blogspot.com/...