Page 1 of 1

Gesture_Demo.mcp32 compile problem

Posted: 15 Jun 2022 13:51
by Jaro-Mahe
Dear Mikroe team.
I did download example project for Mikromedia 5 for PIC32MZ Capacitive .
If I want to build a Gesture_Demo.mcp32 in my mikroC PRO for PIC32 v.4.0.0-C, I have following errors indicated:
"Undeclared identifier 'TFT_Init_SSD1963_Board_50' in expression Gesture_demonstration_driver.c"
"Undeclared identifier 'FT5XX6_SetSize' in expression Gesture_demonstration_driver.c"
"Undeclared identifier 'ft5xx6_gest_move_up' in expression Gesture_demonstration_driver.c"
'Undeclared identifier 'ft5xx6_gest_move_left' in expression Gesture_demonstration_driver.c
'Undeclared identifier 'ft5xx6_gest_move_down' in expression Gesture_demonstration_driver.c
and some others.
Can You please help me to run it?
Thanks.
Jaro.

Re: Gesture_Demo.mcp32 compile problem

Posted: 11 Jul 2022 16:47
by Tanja_Kovacevic
Hi,

Please download the mlk file from the attachment,
and place it where your compiler is located,
at this precise location:
C:\...\Mikroelektronika\mikroC PRO for PIC32\Defs

If you have some additional troubles regarding this issue,
write us at support [at] mikroe [dot] com.


Kind regards,
Tanja

Re: Gesture_Demo.mcp32 compile problem

Posted: 16 Aug 2022 09:48
by Jaro-Mahe
Sorry, but it does not solve the compilation fault.

Re: Gesture_Demo.mcp32 compile problem

Posted: 18 Aug 2022 10:22
by Jaro-Mahe
Problem is solved. :)
After I did install libraries obtained from Mikroe, compilation run successfully.
Here are zipped needed libraries, if anyone need them:
TFT_lib.zip
(35.61 KiB) Downloaded 77 times

Re: Gesture_Demo.mcp32 compile problem

Posted: 27 Feb 2023 04:47
by michael_k
Dear Mikroe team,

I also tried to get the example project for Mikromedia 5 for PIC32MZ Capacitive working.

I could only compile it after using libraries found at this forum topic and updating the P32MZ2048EFH144.mlk.
Compiled code still does not work properly on the Mikromedia 5.

Please advise.

Thank you,
Michael

Re: Gesture_Demo.mcp32 compile problem

Posted: 03 Mar 2023 14:09
by filip
Hi,

can you please tell me which version of the compiler are you using ?

Regards,
Filip.

Re: Gesture_Demo.mcp32 compile problem

Posted: 26 Jun 2023 03:51
by michael_k
Hi,

I use mikroC PRO for PIC32.

Thank you,
Michael

Re: Gesture_Demo.mcp32 compile problem

Posted: 27 Oct 2023 05:01
by christopher.thorpe
I am experiencing the same issue as described above in this thread. I am using MikroC Pro for PIC32 version 4.0.0

To get it to compile I had to convert

TFT_Init_SSD1963_Board_50(800, 480);
to
TFT_Init_SSD1963(800, 480);
because it was getting the error below.
"74 324 Undeclared identifier 'TFT_Init_SSD1963_Board_50' in expression Gesture_demonstration_driver.c"

I am using the Codegrip programmer.
When I flash the hex file that you download with the Gesture demonstration (Demo touch and swipe) the display looks correct(Below).
20231026_234921.jpg
20231026_234921.jpg (2.17 MiB) Viewed 818 times
However, the display resets every 25 seconds with no input from the user and when using the "zoom" gesture to change the color causes the display to freeze, not respond to user input and then eventually reset.

I have compiled the demonstration with the following project settings.
project settings.png
project settings.png (4.41 KiB) Viewed 818 times
Below is what my LCD screen looks like when I compile the project.
20231026_235015.jpg
20231026_235015.jpg (3.65 MiB) Viewed 818 times
I am not sure what is happening because even when I flash the display with the hex file Mikroe provides the display still freezes and resets. Thanks for your help in advance.

Re: Gesture_Demo.mcp32 compile problem

Posted: 30 Oct 2023 14:23
by filip
Hi,

Can you please attach your project here ?

Regards,
Filip.

Re: Gesture_Demo.mcp32 compile problem

Posted: 31 Oct 2023 13:16
by christopher.thorpe
Sure here is my project attached.

Re: Gesture_Demo.mcp32 compile problem

Posted: 03 Nov 2023 11:34
by filip
Hi,

I believe I have answered you on the HelpDesk regarding this issue.

Regards,
Filip.

Re: Gesture_Demo.mcp32 compile problem

Posted: 15 Dec 2023 02:10
by christopher.thorpe
Filip thanks for your help. I am still having a problem where the Mikromedia 5 LCD resets every 24-25 seconds. I have attached the hex file displaying the behavior but changed its extension to a .zip so it could be uploaded here. If it matters on your end please change the extension back to .hex.