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
2.4 inch example needed with connection plz..
- IvanJeremic
- mikroElektronika team
- Posts: 316
- Joined: 05 Sep 2022 14:32
Re: 2.4 inch example needed with connection plz..
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. Regards,
Ivan.
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. Regards,
Ivan.
-
- Posts: 137
- Joined: 02 Jan 2020 19:00
Re: 2.4 inch example needed with connection plz..
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