marcdepape
New member
Hi,
I don't have any code to post as I've just been testing my 2.4 inch ili9341 display with the optimized library's demo example. I wired it up to my 4.1 using the standard spi, kept DC and CS pins the same.
However, I get this weird behaviour where the colour red displays as blue, and blue as red. And there seems to be weird tearing where the demo animations don't start in the corner, despite origins set to 0,0. When it fills the screen with a solid it only fills 2/3 of the 320pixels. As it rotates, it eventually fills the rest in, but not without leaving ghost pixels active in the previous rotation; it never actually fully clears the previous screen.
Basically what I think is happening is that it is drawing 320pixels of information on the 240pixel axis. But, when I switched width and height in the library, nothing changed.
So I tried the Adafruit library. Same issues.
I think I have a wonky display.
My ask to everyone here, the 2.4inch 320x240 ili9341 should work just like a 2.8inch 320x240 ili9341 right? No special configuration required in any of these libraries? I just got a lemon right?
I don't have any code to post as I've just been testing my 2.4 inch ili9341 display with the optimized library's demo example. I wired it up to my 4.1 using the standard spi, kept DC and CS pins the same.
However, I get this weird behaviour where the colour red displays as blue, and blue as red. And there seems to be weird tearing where the demo animations don't start in the corner, despite origins set to 0,0. When it fills the screen with a solid it only fills 2/3 of the 320pixels. As it rotates, it eventually fills the rest in, but not without leaving ghost pixels active in the previous rotation; it never actually fully clears the previous screen.
Basically what I think is happening is that it is drawing 320pixels of information on the 240pixel axis. But, when I switched width and height in the library, nothing changed.
So I tried the Adafruit library. Same issues.
I think I have a wonky display.
My ask to everyone here, the 2.4inch 320x240 ili9341 should work just like a 2.8inch 320x240 ili9341 right? No special configuration required in any of these libraries? I just got a lemon right?