The ILI9341 display rotates the coordinates.


Author Message
v.lenzer

Senior Member

Joined: 04/05/2024
Location: Germany
Posts: 157
Posted: 12:47pm 05 Dec 2025      

Thank you for the information. I managed to make the display now look the same as the other displays. When setting the option for the LCD, I entered "RP" as the orientation and in the program
poke display hres 320
poke display vres 240
When I want to append "INVERT" to the LCD OPTION, I get an error (PIN 0/NULL). It worked with a fantasy GPIO, but all colors were inverted. The blue dot became yellow and the actually correct green lines were also inverted. But you can set that with LINE and CIRCLE. That's not a problem.




PicoMite MMBasic RP2040 Edition V6.00.03
OPTION SYSTEM SPI GP6,GP3,GP4
OPTION COLOURCODE ON
OPTION CPUSPEED (KHz) 200000
OPTION LCDPANEL ILI9341, RPORTRAIT,GP7,GP2,GP5
Edited 2025-12-05 22:53 by v.lenzer