AnsweredAssumed Answered

STemwin Guibuilder on STM32F746-DISCOVERY BOARD

Question asked by NEERAJ GUPTA on Jun 29, 2017
Latest reply on Jul 2, 2017 by Gugelheid Wonzmich

Dear all good ST people,

                                        I am building GUI for machine using emwin GUI builder given by ST for first time. i m able to generate the desired GUI  but when i add my own event-handler in this GUI, then that event-handler refuses to work at all. I m committing some mistakes which i m unable to trace. Please! help me to resolve the problem. I m attaching the required files with their description.

1. main.c: Here 3 important functions are called as written as below:

             GUI_Init();                     /* Initialize the Graphics Component */
           CreateFramewin();
           GUI_Exec();                   /* Execute all GUI jobs ... Return 0 if nothing was done. */
2. touchscreen.c: This File contains the code which scans the input for button shown on GUI from  touch controller.

3. FramewinDLG.c: This File draws the frame on LCD generated from GUI-BUILDER.     

4. 20170628_174046.jpg: This File contains the screenshot of  generated GUI from GUI-BUILDER.

 

BUTTONS SHOWN IN SCREENSHOT DON'T CHANGE BIG NUMBER '50' WHEN PRESSED AS SHOWN IN GENERATED IN GUI.

Outcomes