ILI9341 after update

A forums to allow bugs and problems with Flowcode v6 to be reported and resolved.

Moderator: Benj

Post Reply
User avatar
Bachman
Posts: 116
Joined: Sun Sep 07, 2014 11:37 am
Location: Hungary
Has thanked: 9 times
Been thanked: 53 times
Contact:

ILI9341 after update

Post by Bachman »

Hello!
ILI9341.jpg
ILI9341.jpg (128.68 KiB) Viewed 16849 times
Pin "LED" is still in use. If disconneted, got "verbose error" message: "boostc_18F.exe reported error code 1". Portait - landscape problem still exists. Slow update (PIC is running at 64 MHz) problem is still exists.

All the best!

ressi
Posts: 21
Joined: Fri Mar 25, 2016 6:05 pm
Been thanked: 14 times
Contact:

Re: ILI9341 after update

Post by ressi »

Hello. I have the same problem, there is already a solution?

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: ILI9341 after update

Post by Benj »

Hello,
Pin "LED" is still in use. If disconneted, got "verbose error" message
I have now added a Use Backlight property which should allow you to get rid of the backlight pin if your not using it.
Portait - landscape problem still exists.
I have modified the orientation 3 code now so that this should hopefully sort the text printing the wrong way issue. Other orientations might still have issues.
Slow update (PIC is running at 64 MHz) problem is still exists.
I will have a look at adding a SPI hardware interface to see if that would help. Probably a number of gLCD components that would benefit from this.
gLCD_ILI9341.fcpx
(7.46 KiB) Downloaded 476 times
Simply copy the above file to your "Flowcode 6/Components" directory and restart Flowcode for the changes to be loaded.

User avatar
Bachman
Posts: 116
Joined: Sun Sep 07, 2014 11:37 am
Location: Hungary
Has thanked: 9 times
Been thanked: 53 times
Contact:

Re: ILI9341 after update

Post by Bachman »

Hello!

Better...
ILI9341.jpg
ILI9341.jpg (85.55 KiB) Viewed 16624 times
Suggestion :wink:
Programmer.jpg
Programmer.jpg (34.73 KiB) Viewed 16624 times

User avatar
Mr.Tido
Posts: 5
Joined: Mon Feb 11, 2013 3:32 pm
Location: Germany
Has thanked: 2 times
Been thanked: 2 times
Contact:

Re: ILI9341 after update

Post by Mr.Tido »

Hello all,
I try to use the same display and it seems to have a problem with displaying a text string or number,
it looks the same way like on the picture from Bachmann, even the numbers are looking very strange.
I can initialise the display and change colors for background and foreground.
I'm using the newest version of Flowcode 6 and also have changed the component file to the latest Benj
has posted here and I'm using a ECIO40P16.
Is there something else to change?
Thank you for any help...
we thought all thoughts,
we said all words,
we just forgot to act.

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: ILI9341 after update

Post by Benj »

Hello,

Please can you attach a picture of your display output and your Flowcode project file and that should help me to pinpoint where the problem is inside the component code.

User avatar
Mr.Tido
Posts: 5
Joined: Mon Feb 11, 2013 3:32 pm
Location: Germany
Has thanked: 2 times
Been thanked: 2 times
Contact:

Re: ILI9341 after update

Post by Mr.Tido »

Hi Benj,
here is a picture and the fcfx file and a link to display I use,
https://eckstein-shop.de/22-SPI-TFT-LCD ... 32-ARM-PIC
The Flowcode file just prints two line with text ("Hello World") in different fonts and a number (1234).
But it is not readable on the display, changing colors and drawing some rectangles is no problem.
Attachments
Test-ILI9341.fcfx
(7.83 KiB) Downloaded 410 times
20160430_113507_S.jpg
20160430_113507_S.jpg (465.96 KiB) Viewed 16337 times
we thought all thoughts,
we said all words,
we just forgot to act.

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: ILI9341 after update

Post by Benj »

Hello,

Thanks for posting your files. Here is an updated component you can try which should hopefully solve the issue for orientation mode 0.

Simply copy the file into your "Flowcode 6/Components" directory before loading Flowcode for the changes to be loaded.
gLCD_ILI9341.fcpx
(7.47 KiB) Downloaded 433 times

User avatar
Mr.Tido
Posts: 5
Joined: Mon Feb 11, 2013 3:32 pm
Location: Germany
Has thanked: 2 times
Been thanked: 2 times
Contact:

Re: ILI9341 after update

Post by Mr.Tido »

Hi Benj,
thank you very much for the component file,
it works nearly perfect, problem is that the text is mirrored in orientation mode 0 and 2,
in mode 1 and 3 the text is not mirrored.
orientation mode 0 text is mirrored
orientation mode 0 text is mirrored
ILI-9341-mode-0.jpg (304.31 KiB) Viewed 16260 times
looking real good in orientation mode 3
looking real good in orientation mode 3
ILI-9341-mode-3.jpg (304.84 KiB) Viewed 16260 times
we thought all thoughts,
we said all words,
we just forgot to act.

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: ILI9341 after update

Post by Benj »

Thanks for letting me know.

Hopefully this should fix the mirroring problem too.
gLCD_ILI9341.fcpx
(7.46 KiB) Downloaded 471 times

User avatar
Bachman
Posts: 116
Joined: Sun Sep 07, 2014 11:37 am
Location: Hungary
Has thanked: 9 times
Been thanked: 53 times
Contact:

Re: ILI9341 after update

Post by Bachman »

Hello!

Result of the last update:
ILI9341.jpg
(322.52 KiB) Downloaded 1923 times
Attachments
ILI9341_Geometry_test.fcfx
(7.81 KiB) Downloaded 373 times

Post Reply