ILI9341 SPI It's not working

Moderator: Benj

Post Reply
User avatar
Osta
Posts: 159
Joined: Tue Jul 05, 2016 9:42 am
Been thanked: 13 times
Contact:

ILI9341 SPI It's not working

Post by Osta »

Sorry!!!
Made a mistake with the settings !
It's working!!!!
Attachments
JPG
JPG
ILI9341ISP.jpg (123.48 KiB) Viewed 2194 times
ILI9341_SPI.fcfx
Proj
(9.23 KiB) Downloaded 190 times

User avatar
Osta
Posts: 159
Joined: Tue Jul 05, 2016 9:42 am
Been thanked: 13 times
Contact:

Re: ILI9341 SPI It's not working

Post by Osta »

By default, the display clears to 320x240.
A default graphics 240x320.
It's confusing.
Attachments
SET.jpg
SET.jpg (79.04 KiB) Viewed 2189 times

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 SPI It's not working

Post by Benj »

Hi Osta,

Glad it's working now :D

Change the screen dimension properties so that the entire display is cleared correctly on initialise, the width and height might need to be swapped. Then use the SetOrientation component macro to rotate the display to be the orientation you need.

Use the Position tab of the properties window to rotate the component on the Z axis to allow the sim to match the hardware.

Hope this helps.

Post Reply