cancel
Showing results for 
Search instead for 
Did you mean: 

Pressing the button brings up the project screen ? I need to help

H??el.19
Associate II

I uploaded the project in this image to stmf746g-disco This project has no interface0690X00000AQt0SQAT.jpg

keil file of the project is here

0690X00000AQt2TQAT.png

then I made a simple interface using touchgfx

The problem is how do I integrate the interface code with my real project?

I've seen something like this done by doing some research and watching videos and I've tried

0690X00000AQt2YQAT.png

here I created a variable called "buttonclicked"

0690X00000AQt2dQAD.png

here already touch gfx has created their own

0690X00000AQt2iQAD.png

I'm getting an error here

and most importantly, I do not know how to do this after correcting the error

even if this error is resolved, I don't know how to integrate the next steps

need your help thank you.

in short, how do I integrate my project that I use to draw a wave in my keil project into touch gfx

When I press the RUN button, I want it to bring up the screen in the first image

26 REPLIES 26
H??el.19.75
Associate II

So what I want to say above is that it has a very simple expression.

When I press the button I want me to open the main project page

this screen but

touch gfx projects are saved as .cpp, but my project is written in .c

I need to write c code to the function I created here but how do I write c code here? because folder is .cpp0690X00000AQv0AQAT.png

the problem is still unsolved can you help

We can contact teamwiever

Sorry, i'm not available for team viewer. You still haven't answered my question:

Are you willing to re-create your simple gui in TouchGFX? You're mixing two different ways of drawing a gui which just complicates things. Your gui seems simple enough to try to re-create.

/Martin

c and c++ can coexist. If you're not willing to create your application in TouchGFX you may be able to program both applications separately onto the board, and when you press a button then have your program counter jump to the old application, and vice versa if you want to go back to TouchGFX.

H??el.19.75
Associate II

thank you very much how can i do this