The blinking bear

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

    • The blinking bear

      HI All.

      I'm begginer with emWin.

      I use the simulator and stmf7 series.

      at the code below(not the text, the zip file i attached), The bear is blinking which is I'm not want it for.

      In simulator, blink little.

      In stmf7, it blink a lot.


      1. What am i doing wrong? and what make bear blinking?


      2. before test this code, I use 4 of png file to animation effect.

      I program like this,

      IMAGE_SetPNG(first image);
      hidewindow(first image);
      IMAGE_SetPNG(2th);
      hidewindow(2th);
      IMAGE_SetPNG(3th);
      hidewindow((3th);
      IMAGE_SetPNG(4th);
      hidewindow(4th);

      while(1)
      {
      Showwindow(first image);
      GUI_Delay(500);
      hidewindow(first image);

      Showwindow(2th image);
      GUI_Delay(500);
      hidewindow(2th image);

      Showwindow(3th image);
      GUI_Delay(500);
      hidewindow(3th image);

      Showwindow(4th image);
      GUI_Delay(500);
      hidewindow(4th image);
      }

      but the bear is blinkg. so i try to use GIF file to solve it.

      With 4 of png file, Can make the animation effect with no blinkg ?
      Files

      The post was edited 1 time, last by swan3708 ().

    • Hi,

      your multi-buffering is not configured correctly. Can you tell me what exact hardware you are using and send me your LCDConf.c file?

      Best regards,

      Florian
      Please read the forum rules before posting.

      Keep in mind, this is *not* a support forum.
      Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
      Should you be entitled to support you can contact us via our support system: segger.com/ticket/

      Or you can contact us via e-mail.