aksed about Calibrate TFT 5 inch in fusion for ARM v8

Post Reply
Author
Message
Tia300104
Posts: 14
Joined: 31 Mar 2020 02:28

aksed about Calibrate TFT 5 inch in fusion for ARM v8

#1 Post by Tia300104 » 21 Apr 2020 08:03

how to calibrate the TFT from mikromedia 5 for STM32 CAPACITIVE because every time I make a button, it always shifts from the position of the button

User avatar
jovana.medakovic
mikroElektronika team
Posts: 986
Joined: 18 Dec 2018 10:36

Re: aksed about Calibrate TFT 5 inch in fusion for ARM v8

#2 Post by jovana.medakovic » 22 Apr 2020 09:54

Hello,

In the folder portable, you can find mmb_5_stm32.h files and there you need to change hal_touch_init function.
Instead of FT5XX6_SetSizeAndRotation( 800, 480, 2 ); you need to write FT5XX6_SetSizeAndRotation( 800, 480, 0 ); or FT5XX6_SetSizeAndRotation( 800, 480, 1 );

Let me know the result.

Kind regards,
Jovana

Tia300104
Posts: 14
Joined: 31 Mar 2020 02:28

Re: aksed about Calibrate TFT 5 inch in fusion for ARM v8

#3 Post by Tia300104 » 23 Apr 2020 04:27

it works when I changed FT5XX6_SetSizeAndRotation(800,480,0); with FT5XX6_SetSizeAndRotation(800,480,2); not vice versa.....Thank you very much

User avatar
jovana.medakovic
mikroElektronika team
Posts: 986
Joined: 18 Dec 2018 10:36

Re: aksed about Calibrate TFT 5 inch in fusion for ARM v8

#4 Post by jovana.medakovic » 23 Apr 2020 08:43

Hi,

You're welcome!
I'm glad that your problem is solved.

Kind regards,
Jovana

Tia300104
Posts: 14
Joined: 31 Mar 2020 02:28

Re: aksed about Calibrate TFT 5 inch in fusion for ARM v8

#5 Post by Tia300104 » 23 Apr 2020 23:09

How I can get mmb_5_stm32.h, mikromedia_5_STM32F4.*, _mm_5_STM32f4.* ?

User avatar
jovana.medakovic
mikroElektronika team
Posts: 986
Joined: 18 Dec 2018 10:36

Re: aksed about Calibrate TFT 5 inch in fusion for ARM v8

#6 Post by jovana.medakovic » 24 Apr 2020 09:14

Hello,

I'm not sure if I understand you well.
Could you provide me with more details?
Where did you find these files: mikromedia_5_STM32F4.*, _mm_5_STM32f4.*?

Kind regards,
Jovana

Tia300104
Posts: 14
Joined: 31 Mar 2020 02:28

Re: aksed about Calibrate TFT 5 inch in fusion for ARM v8

#7 Post by Tia300104 » 29 Apr 2020 07:52

I want to use stepper click and boost click on mikromedia 5 for stm32F4 capacitive but there is no microSDK libraries available (microBUS BDF API) for mikromedia 5 for stm32F4 capacitive. Can you tell me the way?
Regard

Post Reply

Return to “Mikromedia”