Slow Speedometer

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

  • Slow Speedometer

    Hi
    I'm using a customized version of Speedometer demo of segger
    but the problem is the SLOW update rate of the Needle.
    referesh rate is 1/2 or 1/3 of second!
    Why this is so slow ?!
    I'm using auto devices, creating a MEM_DEV object.
    A great workload and time consumption is on these lines:

    C Source Code

    1. GUI_MEMDEV_Write(pParam->hMemBk);
    2. GUI_MEMDEV_WriteAt(pParam->hScale, x1, y);GUI_MEMDEV_WriteAt(pParam->hScale, x2, y);





    which transfer the created scale (fixed part of background) to the display. actually there are two scales.
    How could I improve the update rate and speed.
    So annoying problem !
  • Hello,

    Have you been able to experience the same problem with the unchanged Speedometer sample?

    A possible problem might be color conversion. Memory Devices are created with a certain color format. Writing the content of a Memory Device into another device (including the display device) requires color conversion in case the color format of the destination and source devices does not match.

    Best regards,
    Adrian