SEGGER - Florian Administrator

  • Member since Oct 24th 2019

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

  • SEGGER - Florian -

    Replied to the thread emWin and STM32H745I-DISCO example.

    Post
    Hi, your display driver may not be configured correctly. Unfortunately, we do not currently have a ready-to-use LCDConf.c for the board you are using, so you might want to contact ST about this issue. It could also be a hardware error. Sometimes the…
  • SEGGER - Florian -

    Replied to the thread Updating variable values dynamically.

    Post
    Hi, the values are getting written onto the display all at once. You can add a delay to the for-loop to see the value getting updated. To do that, use GUI_Delay(ms). Best regards, Florian
  • SEGGER - Florian -

    Replied to the thread Graph widget is too slow.

    Post
    Hi, you would have to add more values at once in order for the curve to update faster. Every value added with GRAPH_DATA_YT_AddValue() only equates to 1px in width of the curve. It makes sense to store the values in an array, if they are not dynamic,…
  • SEGGER - Florian -

    Replied to the thread GIF image drawing.

    Post
    Hi, if you convert a GIF image to a C array, you simply have to call IMAGE_SetGIF() and the GIF will be drawn automatically (all subimages and time delays). The best way to extract the subimages probably would be GIMP. When loading the GIF image, you…
  • SEGGER - Florian -

    Replied to the thread GIF image drawing.

    Post
    Hi, you would achieve the best performance with memory devices, however, you would probably need a lot of RAM to create a device for every sub-image (depending on the image size). I would recommend to save and draw each sub-image as a C bitmap. Drawing…
  • Hi, the key input from the client should be sent to the VNC server. In emWin, there are two ways to react on keyboard input. It depends whether you are using the window manager, or not. When using the window manager, have to react on the WM_KEY…
  • SEGGER - Florian -

    Replied to the thread Disbale Windows Manager.

    Post
    Hi, Quote from bio_med: “GUI_TOUCH_CalcCoefficients(NUM_TOUCHSCREEN_CAL_POINTS, ReferenceX, ReferenceY, SampleX, SampleY, X_Size, Y_Size); ” this routine is used for calibration. Before you can do that, the touch points have to be retrieved from the…
  • SEGGER - Florian -

    Replied to the thread Disbale Windows Manager.

    Post
    Hi, I forgot to mention that the sample cannot be used on capacitive touchscreens. Are you using a capacitive or a resistive touchscreen? And how do you pass the data sent by the touch controller to emWin? Best regards, Florian
  • SEGGER - Florian -

    Replied to the thread Disbale Windows Manager.

    Post
    Hi, I cannot really say what is going wrong without knowing which hardware you are using or what you are doing after the calibration in your application. Can you provide me some information and code to reproduce the behavior? Thanks and best…
  • SEGGER - Florian -

    Replied to the thread ​Bitmap Converter File Open Problem​.

    Post
    Update: We have fixed the bug and uploaded a new demo version onto the website. Best regards, Florian
  • SEGGER - Florian -

    Replied to the thread ​Bitmap Converter File Open Problem​.

    Post
    Hi, we were able to reproduce the behavior and are looking into it. I found that the file dialog would still be opened when pressing CTRL + O. Best regards, Florian
  • SEGGER - Florian -

    Replied to the thread Problems with QR Code [Solved].

    Post
    Hi, it should work when calling GUI_QR_Draw() in a WM_PAINT case instead of WM_INIT_DIALOG. In fact, you should only draw inside of a WM_PAINT case when using the Window Manager, or otherwise it won't work properly. Best regards, Florian
  • SEGGER - Florian -

    Replied to the thread VNC-Server has very bad quality.

    Post
    Hi, which VNC client are you using and have you set any options? And could you send me your LCDConf.c file? Thanks and best regards, Florian
  • Hello, please note that the common language in this forum is English. I would suggest you open a new thread where you address your concern in English. Thanks and best regards, Florian
  • SEGGER - Florian -

    Replied to the thread GUIBuilder unreliable.

    Post
    Hi, thanks for your feedback! Let me help you with your problems. 1. In order for something to be displayed, you should make sure that the text color is different from the background color. And you also have to set a text to the TEXT object. To do…
  • SEGGER - Florian -

    Replied to the thread Storing SIF font data in external flash and usage.

    Post
    Hi, yes, you can convert the XBF file into a binary array by using the Bin2C tool. The array only has to be addressable. The GetData function then only has to copy the array to the source address. C Source Code (25 lines) Best regards, Florian
  • SEGGER - Florian -

    Replied to the thread Storing SIF font data in external flash and usage.

    Post
    Hi, I would advise against the use of SIF fonts, since this font format is considered obsolete. It makes more sense to use XBF fonts instead. XBF fonts can be created from installed fonts using the Font Converter tool. If you want to store fonts in…
  • Hi, PNG decoding requires a lot of RAM, but given that you allocated more than 6MB to emWin, this shouldn't be the problem. It could be something wrong with the PNG image itself, have you tried using another PNG image, just to see if that works? You…
  • SEGGER - Florian -

    Replied to the thread GUIBuilder unreliable.

    Post
    Hi, you can't import emWin code into the AppWizard, you would have to develop the application from scratch with AppWizard. Though, when you already have an existing application, this part should be really easy once you know how to use the tool. You can…
  • SEGGER - Florian -

    Replied to the thread TEXT widget not setting specific background color.

    Post
    Hi, you can try with this macro that swaps the colors from ARGB to ABGR: C Source Code (2 lines)Best regards, Florian