ILI9341

For questions and comments on programming in general. And for any items that don't fit into the forums below.

Moderators: Benj, Mods

Post Reply
Corto
Posts: 28
Joined: Thu Sep 04, 2014 7:01 am
Has thanked: 7 times
Been thanked: 6 times
Contact:

ILI9341

Post by Corto »

Hi Benj,
First i wish you and the whole team a happy new year 2021.

I have a problem with the ILI9341 with F9. There is confusion between the X and Y axes.
The 0 of X1 is -80 and X2 is 240 (80 + 240 = 320)
It also seems that there is a problem with the SetBackgroundColour macro.
I attach a photo of the display and the flowchart
Thanks in advance for your help
Attachments
CONSOLE_THP_E.fcfx
(25.39 KiB) Downloaded 148 times
IMG_2100.JPG
IMG_2100.JPG (70.82 KiB) Viewed 4277 times

jgu1
Posts: 1333
Joined: Tue Oct 06, 2009 9:39 am
Has thanked: 1135 times
Been thanked: 299 times
Contact:

Re: ILI9341

Post by jgu1 »

Hi corto!

I am not Ben, but, can Maybe help if not, forget this :lol:

As far I see, you have to swap the with and high in properties for the display.

And you have to use orientation macro and set orientation to 1 (component macro). After this you may again edit your X and Y pos for "print".

Hope this could help :wink:

Br jorgen
Attachments
Swap.PNG
Swap.PNG (6.54 KiB) Viewed 4270 times

Corto
Posts: 28
Joined: Thu Sep 04, 2014 7:01 am
Has thanked: 7 times
Been thanked: 6 times
Contact:

Re: ILI9341

Post by Corto »

hello Jorgen,
You are not Ben, but you master well too :D
you're right, i'm an idiot that i haven't seen this before. :oops:
Thank you very much

Post Reply