Hello
I have some problems with the ili9341 display and would like to understand if it depends on the single display or it happens to everyone.
I am currently using this display https://www.buydisplay.com/color-2-4-in ... serial-spi
the interface is 8 bit parallel.
In simulation everything is ok while on the hardware I have a rotated and corrupt image.
To eliminate vertical lines I have to set the display area differently by inverting the widht and hight dimensions.
But at that point I have no correlation between the image drawn on the real display and the simulation
With the latest version if I set the rotation on the number 3 I get only the black screen
GLCD ILI9341
Moderator: Benj
- faveremario
- Posts: 28
- Joined: Sat Jun 02, 2012 6:08 pm
- Has thanked: 8 times
- Been thanked: 13 times
Re: GLCD ILI9341
Hi Alkaline
I just started experimenting with the ILI9341 (SPI).
Be careful to select the wright component. Do not select the SPI-component when using the 8-bit // interface and vice-verse.
The last image shown is typical for miss-initing the TFT. I suggest to switch XY-dimensions in the component:
H : 320 (in stead of 240)
W : 240 (in stead of 320)
Hope this helps a little.
I just started experimenting with the ILI9341 (SPI).
Be careful to select the wright component. Do not select the SPI-component when using the 8-bit // interface and vice-verse.
The last image shown is typical for miss-initing the TFT. I suggest to switch XY-dimensions in the component:
H : 320 (in stead of 240)
W : 240 (in stead of 320)
Hope this helps a little.
Re: GLCD ILI9341
Hello
I confirm that if I invert the coordinates the problem disappears
In the last few weeks I have tried the various versions and the one I can use correctly is the n12.
Both in simulation and in hardware the images and numbers are correctly represented.
Performance has improved compared to version 10 especially on STM
In versions after 12 I can't rotate the screen and write numbers or text. In simulation it works but in hardware it does not.
Let me know if it does the same to you even if you use the SPI interface
I confirm that if I invert the coordinates the problem disappears
In the last few weeks I have tried the various versions and the one I can use correctly is the n12.
Both in simulation and in hardware the images and numbers are correctly represented.
Performance has improved compared to version 10 especially on STM
In versions after 12 I can't rotate the screen and write numbers or text. In simulation it works but in hardware it does not.
Let me know if it does the same to you even if you use the SPI interface
- faveremario
- Posts: 28
- Joined: Sat Jun 02, 2012 6:08 pm
- Has thanked: 8 times
- Been thanked: 13 times
Re: GLCD ILI9341
Hi
I do not see what you mean by n10 or n12.... ?
Screen rotation works for me.
My test-environment : PIC18F4455
I do not see what you mean by n10 or n12.... ?
Screen rotation works for me.
My test-environment : PIC18F4455
Re: GLCD ILI9341
Hello
I am referring to the version of the glcd component as photo attached.
The problem of rotation is the following.
For example I set the value 3 to the rotation, I want to write a number the number on the display, the number will not be drawn.
I am referring to the version of the glcd component as photo attached.
The problem of rotation is the following.
For example I set the value 3 to the rotation, I want to write a number the number on the display, the number will not be drawn.
- Attachments
-
- Flow_upd.jpg (111.91 KiB) Viewed 9696 times
- faveremario
- Posts: 28
- Joined: Sat Jun 02, 2012 6:08 pm
- Has thanked: 8 times
- Been thanked: 13 times
Re: GLCD ILI9341
This is what I get....
Component version 2.0
Component version 2.0
- Attachments
-
- IMG_20200517_094453.jpg (79.6 KiB) Viewed 9685 times
-
- Capture.JPG (79.75 KiB) Viewed 9685 times
Re: GLCD ILI9341 + Flowcode 9 + Simulation
Flowcode 9 In simulation mode has anybody had the following problem and fixed it?
Flowcode 9 + gLCD_ILI9341 + SetBackgroundColour(0,0,0) = White Background
Also,
Flowcode 9 + gLCD_ILI9341 + SetBackgroundColour(255,255,255) = White Background
Thanks
Owen
Flowcode 9 + gLCD_ILI9341 + SetBackgroundColour(0,0,0) = White Background
Also,
Flowcode 9 + gLCD_ILI9341 + SetBackgroundColour(255,255,255) = White Background
Thanks
Owen
-
- Valued Contributor
- Posts: 2045
- Joined: Wed Aug 27, 2008 10:31 pm
- Location: Netherlands
- Has thanked: 553 times
- Been thanked: 1081 times
Re: GLCD ILI9341
Do you actually display anything with that background? Just setting the background does not change the currently displayed information.
“Integrity is doing the right thing, even when no one is watching.”
― C.S. Lewis
― C.S. Lewis
-
- Posts: 1333
- Joined: Tue Oct 06, 2009 9:39 am
- Has thanked: 1135 times
- Been thanked: 299 times
Re: GLCD ILI9341
Hi Owen!
I have just made a testprogram in FC9. It work fine for me.
All color 255 = white
All color 0 = Black
Br jorgen
I have just made a testprogram in FC9. It work fine for me.
All color 255 = white
All color 0 = Black
Br jorgen
- Attachments
-
- FC9Background.fcfx
- (11.92 KiB) Downloaded 267 times