micromedia 7 capacitive - VTFT settings

Post Reply
Author
Message
TINBY
Posts: 11
Joined: 18 Jan 2016 13:00

micromedia 7 capacitive - VTFT settings

#1 Post by TINBY » 18 Sep 2019 10:19

If I want to create a new project for Mikromedia 7 CAPACITIVE (stm32f767), which hardware pattern should I choose for VTFT?

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

Re: micromedia 7 capacitive - VTFT settings

#2 Post by jovana.medakovic » 19 Sep 2019 09:43

Hello,

In the attachment, you can find XML file which you have to put it in the folder where your compiler is installed on the path:
\Mikroelektronika\mikroC PRO for ARM\Board Defs

After that, you can choose ___Mikromedia_7_for_STM32F767ZG pattern.

Kind regards,
Jovana
Attachments
___Mikromedia_7_for_STM32F767ZG.zip
(2.22 KiB) Downloaded 149 times

TINBY
Posts: 11
Joined: 18 Jan 2016 13:00

Re: micromedia 7 capacitive - VTFT settings

#3 Post by TINBY » 19 Sep 2019 11:23

Thank You for the quick reply,
best regards
Marek

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

Re: micromedia 7 capacitive - VTFT settings

#4 Post by jovana.medakovic » 19 Sep 2019 11:32

Hi,

You're welcome.

Kind regards,
Jovana

garrip
Posts: 11
Joined: 18 Oct 2019 22:01

Re: micromedia 7 capacitive - VTFT settings

#5 Post by garrip » 18 Oct 2019 22:40

In the manual I read:

We have equipped our compilers with dozens of examples that demonstrate the use of each and every feature of the mikromedia 7 CAPACITIVE development board. This makes an excellent starting point for future custom projects. Just load the example, read well commented code, and see how it works on hardware.

Where can I download the examples?


Thanks, best regards

garrip
Posts: 11
Joined: 18 Oct 2019 22:01

Re: micromedia 7 capacitive - VTFT settings

#6 Post by garrip » 20 Oct 2019 21:09

Hi

I used ___Mikromedia_7_for_STM32F767ZG.zip, thank.

I did a very easy project:

1) Screen1 with botton1
On_click Event
void Button1OnClick() {
DrawScreen(&Screen2);
}

2) Screen2 with botton2
On_click Event
void Button2OnClick() {
DrawScreen(&Screen1);
}

The code does not work.

I had to change

char FT5XX6_Config() {
FT5XX6_SetI2CAddress(0x38);
if (FT5XX6_IsOperational() != FT5XX6_OK)
return FT5XX6_FAILURE;
FT5XX6_SetDefaultMode();
FT5XX6_SetController(_TC_FT5X26);
FT5XX6_SetSizeAndRotation(800,480,0);
return FT5XX6_OK;
}

to

char FT5XX6_Config() {
FT5XX6_SetI2CAddress(0x38);
if (FT5XX6_IsOperational() != FT5XX6_OK)
return FT5XX6_FAILURE;
FT5XX6_SetDefaultMode();
FT5XX6_SetController(_TC_FT5X26);
FT5XX6_SetSizeAndRotation(800,480,1); <----------------
return FT5XX6_OK;
}

It works sometime, but sometime it does not work.

Can someone help me, please?


Where can I download example files?

Thanks a lot, best regards.

Marco

User avatar
stefan.filipovic
mikroElektronika team
Posts: 1135
Joined: 18 Dec 2018 10:30

Re: micromedia 7 capacitive - VTFT settings

#7 Post by stefan.filipovic » 21 Oct 2019 13:29

Hi Marco,

I noticed that you have opened a Support Ticket regarding this matter.
I believe I've answered you there.

Kind regards,
Stefan Filipović

garrip
Posts: 11
Joined: 18 Oct 2019 22:01

Re: micromedia 7 capacitive - VTFT settings

#8 Post by garrip » 21 Oct 2019 14:46

Hi,

thank a lot. It's a very very simple code example,the proble was option: it has to be 2, not 1 or 0.

Where can I download other examples that the "use of each and every feature of the mikromedia 7 CAPACITIVE development board"?

Thank, best regards

M.

User avatar
stefan.filipovic
mikroElektronika team
Posts: 1135
Joined: 18 Dec 2018 10:30

Re: micromedia 7 capacitive - VTFT settings

#9 Post by stefan.filipovic » 22 Oct 2019 08:46

Hi Marco,

You have already asked the same question on your Helpdesk ticket, so we can continue this correspondence there.

Kind regards,
Stefan Filipović

garrip
Posts: 11
Joined: 18 Oct 2019 22:01

Re: micromedia 7 capacitive - VTFT settings

#10 Post by garrip » 28 Oct 2019 09:27

How to use mikrobus on mikromedia 7 capacitive?

Thank, best regards.

User avatar
stefan.filipovic
mikroElektronika team
Posts: 1135
Joined: 18 Dec 2018 10:30

Re: micromedia 7 capacitive - VTFT settings

#11 Post by stefan.filipovic » 28 Oct 2019 09:54

Hi,

I believe that the mikroBUS shield for mikromedia 7 CAPACITIVE could be released in the near future, so you will be able to use it with click boards.

Kind regards,
Stefan Filipović

ronjodu
Posts: 24
Joined: 02 Mar 2014 20:06

Re: micromedia 7 capacitive - VTFT settings

#12 Post by ronjodu » 29 Aug 2021 10:01

Where are the examples for Micromedia 7 and the Basic for 32 compiler?

User avatar
Tanja_Kovacevic
mikroElektronika team
Posts: 98
Joined: 09 Aug 2021 11:39

Re: micromedia 7 capacitive - VTFT settings

#13 Post by Tanja_Kovacevic » 30 Aug 2021 16:27

Hi ronjodu,

Unfortunately, we only have the example written in C:
https://libstock.mikroe.com/projects/vi ... capacitive

Kind regards,
Tanja

ronjodu
Posts: 24
Joined: 02 Mar 2014 20:06

Re: micromedia 7 capacitive - VTFT settings

#14 Post by ronjodu » 30 Aug 2021 16:55

Thanks, I will try to get by with those.
Is there an XML file to add to the basic32 compiler for the micromedia 7 capacitive?

User avatar
Tanja_Kovacevic
mikroElektronika team
Posts: 98
Joined: 09 Aug 2021 11:39

Re: micromedia 7 capacitive - VTFT settings

#15 Post by Tanja_Kovacevic » 02 Sep 2021 14:09

Hi,

The XML files are the same in every compiler.
You can use the one that my colleague Jovana had attached if you use the same MCU: STM32F767ZG
Just place it on the right location for your Basic compiler: \...\Mikroelektronika\mikroBasic PRO for ARM\Board Defs

If this is not the case, my advice is to copy an existing one and adapt it for your MCU.

Kind regards,
Tanja

Post Reply

Return to “Mikromedia”