Page 1 of 1

ILI9341 after update

Posted: Sat Feb 20, 2016 11:43 am
by Bachman
Hello!
ILI9341.jpg
ILI9341.jpg (128.68 KiB) Viewed 20556 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!

Re: ILI9341 after update

Posted: Fri Mar 25, 2016 6:10 pm
by ressi
Hello. I have the same problem, there is already a solution?

Re: ILI9341 after update

Posted: Tue Mar 29, 2016 12:16 pm
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 560 times
Simply copy the above file to your "Flowcode 6/Components" directory and restart Flowcode for the changes to be loaded.

Re: ILI9341 after update

Posted: Sun Apr 03, 2016 11:00 am
by Bachman
Hello!

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

Re: ILI9341 after update

Posted: Fri Apr 22, 2016 10:29 am
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...

Re: ILI9341 after update

Posted: Wed Apr 27, 2016 3:51 pm
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.

Re: ILI9341 after update

Posted: Sat Apr 30, 2016 10:58 am
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.

Re: ILI9341 after update

Posted: Tue May 03, 2016 5:15 pm
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 553 times

Re: ILI9341 after update

Posted: Wed May 04, 2016 9:14 am
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 19967 times
looking real good in orientation mode 3
looking real good in orientation mode 3
ILI-9341-mode-3.jpg (304.84 KiB) Viewed 19967 times

Re: ILI9341 after update

Posted: Wed May 04, 2016 10:56 am
by Benj
Thanks for letting me know.

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

Re: ILI9341 after update

Posted: Sun May 22, 2016 3:07 pm
by Bachman
Hello!

Result of the last update:
ILI9341.jpg
(322.52 KiB) Downloaded 1923 times