2.4 inch example needed with connection plz..

General discussion on Visual TFT Software.
Post Reply
Author
Message
zezo2060
Posts: 5
Joined: 23 Sep 2022 16:52

2.4 inch example needed with connection plz..

#1 Post by zezo2060 » 25 Jan 2024 22:14

hi
I am new with Vtft Software and I Need simple example with hardware configuration (connection) between the 2.4 inch tft (no driver) and stm32f103c8 with mikroc arm at any pins .
Plz find screeen link
http://www.lcdwiki.com/2.4inch_Arduino_ ... m_Download

thank you

User avatar
IvanJeremic
mikroElektronika team
Posts: 316
Joined: 05 Sep 2022 14:32

Re: 2.4 inch example needed with connection plz..

#2 Post by IvanJeremic » 26 Jan 2024 09:30

Hi,

We do not have displays that are 2.4", the smallest ones that we have are 2.8"
https://www.mikroe.com/easytft-board

I have attached the Visual TFT examples for the board from the link above.
EasyMX PRO v7 for STM32 ARM.7z
(1.44 MiB) Downloaded 28 times
Regards,

Ivan.

AntiMember
Posts: 135
Joined: 02 Jan 2020 19:00

Re: 2.4 inch example needed with connection plz..

#3 Post by AntiMember » 26 Jan 2024 15:09

This will work if the TFT controller ILI9341. If TFT controller ST77xx (SPFD5408 / S6D0154) - no ...

Code: Select all

// TFT module connections                          Variant for BluePill 8 bits data bus:
sbit TFT_BLED at GPIOE_ODR.B9;                 //GPIOB_ODR.B9 -?  - This is not on Shield Arduino - I don’t remember.
sbit TFT_CS at GPIOE_ODR.B15;                   //GPIOB_ODR.15
unsigned int TFT_DataPort at GPIOE_ODR;    //GPIOA_ODR;   PA0-PA7 -> LCD_D0-D7.
sbit TFT_RD at GPIOE_ODR.B10;                  //GPIOB_ODR.B10
sbit TFT_RS at GPIOE_ODR.B12;                  //GPIOB_ODR.B12
sbit TFT_RST at GPIOE_ODR.B8;                  //GPIOB_ODR.B8
sbit TFT_WR at GPIOE_ODR.B11;                 //GPIOB_ODR.B11
// End TFT module connections



// Touch Panel module connections
sbit DriveX_Left at GPIOB_ODR.B1;                //GPIOB_ODR.B1
sbit DriveX_Right at GPIOB_ODR.B8;              //GPIOB_ODR.B13
sbit DriveY_Up at GPIOB_ODR.B9;                  //GPIOB_ODR.B14
sbit DriveY_Down at GPIOB_ODR.B0;              //GPIOB_ODR.B0
// End Touch Panel module connections

Post Reply

Return to “Visual TFT General”