You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With some help browsing the internet I did found a solution for my problem with the 2.8" 240x320 display. After initialization the colors are inverted.
In file "Adafruit_ST7789.cpp" on line 72 the command structure 'generic_st7789' holds setting ST77XX_INVON, for my screen this needs to be ST77XX_INVOFF.
After changing that my screen works.
For now I duplicated the Adafruit_ST7789 .cpp and .h files into Adafruit_ST7789_28.cpp and .h and made the change. A more permanent solution would be appreciated where this is user configurable.