Search Results

Search results 1-19 of 19.

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

  • emWin and emFile

    bio_med - - emFile related

    Post

    Hi, I am working on a project that uses 320X240 TFT LCD. I am using emWin to design graphics. Recently I found emFile can be used to access file system on SD card. I already have paths set for emWin library in build settings. My question is: Can I add both emWin and emFile to the build settings? Is this the right way to do it? Note: I am using emFile for the first time and it's a little confusing to be using both emWin and emFile and I am still reading up on it. Any help is appreciated. Thanks a…

  • Flash memory almost full

    bio_med - - emWin related

    Post

    Florian, Thank you so much for confirming that for me. Best regards, BMD

  • Flash memory almost full

    bio_med - - emWin related

    Post

    Quote from bio_med: “I thought the same, that images could cause this memory issue. But when I took out the images and all the I had in the code was just GUI_Init() and GUI_Delay(), the memory consumption was 16% i.e 47 KB of ROM. Is this how much it usually takes or does this seem unusual? ” Can anybody confirm this for me please? Thank you, BMD

  • Flash memory almost full

    bio_med - - emWin related

    Post

    Quote from SEGGER - Schoenen: “Unfortunately, I don't have access to Cypress Semiconductors evalboard. so I can't reproduce it. ” Actually you don't really need an eval board. You could just reproduce it on PSoC creator software to see how much ROM is being used during compile. Best regards, BMD

  • Flash memory almost full

    bio_med - - emWin related

    Post

    Thank you for your response. I thought the same, that images could cause this memory issue. But when I took out the images and all the I had in the code was just GUI_Init() and GUI_Delay(), the memory consumption was 16% i.e 47 KB of ROM. Is this how much it usually takes or does this seem unusual? Regards, BMD

  • Flash memory almost full

    bio_med - - emWin related

    Post

    Hi Sven, Just trying to see if you were able to work on those files. Did you find something on those files that would help us reduce the memory consumption? Thanks and regards, BMD

  • Flash memory almost full

    bio_med - - emWin related

    Post

    Thank you for your response. Quote from SEGGER - Schoenen: “Where do you get the emWin library from (ST, NXP, Reneses, etc.) ” Cypress Semiconductor. Quote from SEGGER - Schoenen: “Can you send me your configuration files (GUIConf.c/.h and LCDConf.c/.h)? ” Sure. Please see attached. Thanks and regards, BMD

  • Flash memory almost full

    bio_med - - emWin related

    Post

    Hi, I am using emWin library for Graphic interface. Currently I have designed a screen with an image, 8 Icons and few numbers on the screen. I have a processor with 256KBytes of memory. When I compile the code, I see that my code occupies 90% of the program memory. I have checked the resource usage and the icons with screen should not be taking up so much memory. I commented the screen with just GUI_Init() and GUI_Delay() in the code and it occupies 16% of the memory. 1. Can someone explain what…

  • Multiple Buffering

    bio_med - - emWin related

    Post

    Hi Florian, Thank you for your response. I understand. But how do you switch between the buffers? Best regards, BMD

  • Multiple Buffering

    bio_med - - emWin related

    Post

    Hi, I am currently working on Multiple Buffering. I am trying to write to a buffer in the background and display another buffer that's already being written. Is there an example code which I can refer to? I really appreciate all your help. Thanks and regards, BMD

  • Window

    bio_med - - emWin related

    Post

    Thank you. But what if I have more than one button on the display, do I need to write separate functions for each button created? . For example, I have touch calibration and O2 cell. The code above is for touch. Do I need to write a different code for O2 cell in another c file? I am jus t trying to understand how emWin works and it's so different from the rest of the tools. Also, what if you want to call a function inside another function? Much appreciate all the help. Best regards, BMD

  • Window

    bio_med - - emWin related

    Post

    Thank you, Sven. That worked. But I am trying to do touch calibration after button click. I don't see anything after button click. Display goes blank. Please see below code. Is there something that's blocking the code to display calibration code? I have tested the calibration code separately and it works perfectly fine. I don't seem to understand where I am going wrong. Any help is appreciated. Best regards, BMD C Source Code (108 lines)C Source Code (147 lines)

  • Window

    bio_med - - emWin related

    Post

    Hi, I would like to display a separate window after the button press. Is there a reference code for such functionality? I have gone through some sample codes provided by emWin but couldn't find anything that matched what I need. Thank you so much in advance. Best regards, BMD

  • 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. …