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
(regardless TFT_WIDTH and TFT_HEIGHT in user settings set as landscape or portrait)
Colors seem wonky, it is worse in real life, hard to catch in a photo. Full red, green, blue are ok.
I got a bit confused with the Matrix example since it mixed horizontal and vertical behavior in odd ways depending on setRotation but maybe that example is built like that.
2: ST7789_DRIVER(s), no go
Both the ST7789_DRIVER and ST7789_2_DRIVER just give me a black screen whatever other things in user settings I change. The code runs though, if I add serial prints they do print out.
Have now tried everything above with an ESP32 instead of the RP2040. Identical results.
MagnusThome
changed the title
ST7789v2 based display not working with ST7789/ST7789_2 drivers (but work with ILI9341 driver!)
ST7789v2 based display not working with ST7789/ST7789_2 drivers but works (kinda) with ILI9341 driver
Nov 28, 2024
I have a problem getting this ST7789v2 display to work with either ST7789 or ST7789_2 drivers.
https://www.digikey.se/en/products/detail/az-displays/ATM0200B3/18796376
https://www.azdisplays.com/PDF/ATM0200B3.pdf
bit bash example output:
1: ILI9341_DRIVER works, kinda
TFT_eSPI examples work with the ILI9341_DRIVER with the user settings as enclosed further below but only with this atypical landscape setting line:
(regardless TFT_WIDTH and TFT_HEIGHT in user settings set as landscape or portrait)
Colors seem wonky, it is worse in real life, hard to catch in a photo. Full red, green, blue are ok.
I got a bit confused with the Matrix example since it mixed horizontal and vertical behavior in odd ways depending on setRotation but maybe that example is built like that.
2: ST7789_DRIVER(s), no go
Both the ST7789_DRIVER and ST7789_2_DRIVER just give me a black screen whatever other things in user settings I change. The code runs though, if I add serial prints they do print out.
3: Adafruit ST7789 driver and example works
The Adafruit ST7789 (v1.10.4) drivers and the example at this link works with the display
https://github.com/adafruit/Adafruit-ST7735-Library/tree/master/examples/graphicstest_st7789
(a bit odd but a few times I only got it running properly if I added a call to tft.setRotation(1) after the line with tft.init(240, 320); but I had problems repeating this issue)
I use:
Arduino IDE
TFT_eSPI v2.5.43
rp2040 v2.4.0
Working, kinda:
No go:
No go:
The text was updated successfully, but these errors were encountered: