Search Results

Search results 1-6 of 6.

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • Widget within a widget

    bio_med - - emWin related

    Post

    Hi, I am working on creating different screens for my application. I have two separate .c files created using GUI builder. I want to display one after another with some delay. For example: screen with logo and after couple of seconds main screen with different buttons. Is there an example I could follow or has anyone in the forum tried this before? Any kind of suggestions are welcome. Note: I tried to call second function inside WM_paint of the first function. That doesn't seem to work. I also t…

  • Alex, Thank you for your help with that. I tried it out. I still can't see the text after progress bar. I don't understand why. But I gave this following code a try and it works. Source Code (95 lines)

  • Hi all, I am trying to create a splash screen for one of my projects. I am using widgets to display logo, progress bar and then trying to display test after hiding widget with logo and deleting progress bar. For some reason I don't see any text being displayed. I do not want logo to be displayed when I am trying to display text. Is there a work around for this? Thank you! Source Code (84 lines)

  • Touch_calibrate.c

    bio_med - - emWin related

    Post

    Sven, I use these functions to pass touch: GUI_TOUCH_X_ActivateX(), GUI_TOUCH_X_ActivateY() GUI_TOUCH_X_MeasureX(), GUI_TOUCH_X_MeasureY() Regards, Shamili

  • Touch_calibrate.c

    bio_med - - emWin related

    Post

    Hi Sven, Thank you for your response. When you say "I never pass an up event (State.Pressed == 0) to emwin", what do you mean? Is there a part of configuration files where I have to manually add (State.Pressed == 0) ? I tried to exchange calls of GUI_TOUCH_GetState() into GUI_PID_GetState() and now even when there is no touch, the code seems to exit out of the (State.Pressed == 0) loop. Regards, Shamili

  • Touch_calibrate.c

    bio_med - - emWin related

    Post

    Source Code (75 lines)Hi all, I am currently working to calibrate resistive touchscreen using emWin library. I see a sample code provided in the library Touch_calibrate.c As I am working on this, I can see that the code seems to be stuck at while (State.Pressed != 1) . Also, I was able to implement Touch_sample.c and detect touch to see values changing for both analog inputs and positions. If someone came across the same problem could you please advise. Please see the code I am currently using. …