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 ?
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 ?
The post was edited 1 time, last by swan3708 ().