fillScreen only partial with ST7789VI and ESP32-S3 #3587
Replies: 2 comments
-
Try adding this to your code, replace the usual "TFT_eSPI tft = TFT_eSPI;". Had the "same" problem last week, I used ILI9341_DRIVER, and Setup42_ILI9341_ESP32.h in User_Setups. I also had to change the colour order of my screen, but not sure if you'll need that yet. I set the Rotation to 3, but again yours may be different. EDIT: You probably don't need the 9341 setup like I did then, didn't notice you have the actual driver listed on the store listing. My screen was a cheapo that didn't have it listed, so it was guess work. |
Beta Was this translation helpful? Give feedback.
-
Thanks a lot for the suggestion @Blitz54. With the hw I use the values actually have to be swapped: And yes - I also had to invert the colors with I have tested with the ArchFill and AllFreeFonts examples and so far it then works like a charm. What puzzles me a bit is that in the settings I have to configure Lines 426 to 432 in 5793878 The root cause for this I have not managed to figure out, but anyway - what I finally did is to use the settings parameters in the call like this:
|
Beta Was this translation helpful? Give feedback.
-
I have just started to test this library and have seen a problem similar to #2933 but with different hardware. I use the Newhaven display NHD-2.4-240320CF-BSXV-FT that comes with an ST7789VI driver. As a controller I use an ESP32-S3-DEVKITC-1 board. The tests I have done so far are successful except that the
fillScreen
method only fills the screen partially like this:I'm using PlatformIO with build flags as below:
To narrow down the issue the picture above is captured running the little code snippet from #2933:
In contrast to #2933 I see the same problem with any rotation (0-3). The only difference is that with rotation = 0 and 1 the rightmost part of the screen is not filled while with rotation = 2 and 3 it's the leftmost part.
What I understood from the disucssion the root cause might be related to clock speed / timing why I have tested to reduce the clock frequency from 40MHz to 20MHz and also 10MHz but with the same result.
Beta Was this translation helpful? Give feedback.
All reactions