Posts by bio_med

    Hi,

    I am using an SD card as external memory to access images and text files. I have come across an issue that I do not quite understand how I could solve.

    1. I have two text files A is 1.2kB and B is 1.5kB. When I access the A, I am able to read all the strings on there and when I try to access the B, I am not able to retrieve a few strings in the end.
    2. I tried looking at both files and counting the characters with spaces and found out that I was able to read the same number of characters from file B as that of file A.
    3. I tried doing it the other way around and I was able to read all the strings on File B and then File A.

    I think I am having issues with memory allocation but I am not sure how to solve it.

    If anyone here came across a similar issue and can give me some pointers, I'd much appreciate it.

    Thank you,
    BMD

    Hi,

    I have been working with emWin for quite sometime now. I am currently using buttons for some functionalities in my project. I have a couple of things I would like to get technical answers for.

    1. I have found that sometimes even after the button is released, it wouldn't send NOTIFICATION_RELEASED. This happens only when the buttons are pressed at the edges. Is there a way to solve this problem?
    2. I am displaying images and text boxes. Since the image isn't performing any functions, when pressed on it, creates a touch beep just like functioning part of the scree. Is there a way to disable this so I don't hear a beep when a non-functional object is pressed?

    I look forward to hearing from you. Appreciate all the help.

    Thanks and regards,
    BMD

    Sven,

    Thank you so much for helping me out in figuring a better way to do things.

    I tried to remove the automatic memory devices but that's causing bitmaps on buttons on each screen to flicker. Can you help me understand what could be causing this?

    Thanks and regards,
    BMD

    Sven,

    Appreciate the response. Thank you so much.
    Also, when the image is touched, it clears the entire scree. The only I know to stop that from happening is to disable the image. Is there any other efficient way of doing this?

    Best regards,
    BMD

    Sven,

    Thank you for quick response. Please see attached code and Images I am currently using.

    Best regards,
    BMD

    Hi,

    I have been using emWin for quite sometime now and haven't come across this before. On a window widget I am displaying few 2 buttons and 2 images. For some reason I see 2nd image in the background of first image. I checked the parameters and made sure I am not displaying the image twice. I have been using the same procedure on a couple other windows but haven't had any problems with it.

    I'd really appreciate it if someone came across this problem and could help me or any suggestions will do.

    Thank you,
    BMD

    Florian,

    Thank you for looking into it. Really appreciate it.

    But I am initializing emWin and emFile in another file before calling Maintask().
    I have tried the XBF font sample. That works perfectly fine. But now I am trying to incorporate it into widgets and that doesn't seem to work at all whatsoever.

    Best regards,
    BMD

    HI Florian,

    Appreciate all your help. So I tried the following code but I don't see anything on the display whatsoever. Could you please tell me where I am possibly going wrong?
    Thank you for all your help.

    Best regards,
    BMD

    Florian,

    I have tried that example but for some reason it doesn't work on widgets.
    Is there a way to set this external Font as default font or this function has to be called every time a new screen is drawn?

    Best regards,
    BMD

    Could someone help me understand if I am getting the steps right to display XBF font from SDcard in a widget. Or is there somewhere I can look at, as to how to implement XBF fonts on widgets?
    Appreciate any help.

    Thanks and regards,
    BMD