Hi,
I am new for emwin. My platform is RT1052, I encounter an issue when using GUI_DrawCircle and GUI_DrawLine, Attached is the pic, sawtooth can be seen. It is normal when I display string or rect, and also display Widgets very well. What kind of problem can cause this kind of issue? I supposed the problem is likely to be in the hardware driver, but I do not know how to address it. Thanks a lot for your support.
Following is the code.
void MainTask(void)
{
GUI_Init();
WM_MULTIBUF_Enable(1);
GUI_SetBkColor(GUI_BLUE);
GUI_Clear();
GUI_SetPenSize(10);
GUI_FillCircle (100, 60, 50);
GUI_DrawCircle (250, 100, 50);
GUI_DrawLine(200,200,300,350);
GUI_DrawLine(400,200,200,350);
GUI_FillRect(100,400,300,450);
GUI_SetFont(GUI_FONT_32_1);
GUI_DispStringHCenterAt("ABCDEFG", 100, 320);
while (1);
}
I am new for emwin. My platform is RT1052, I encounter an issue when using GUI_DrawCircle and GUI_DrawLine, Attached is the pic, sawtooth can be seen. It is normal when I display string or rect, and also display Widgets very well. What kind of problem can cause this kind of issue? I supposed the problem is likely to be in the hardware driver, but I do not know how to address it. Thanks a lot for your support.
Following is the code.
void MainTask(void)
{
GUI_Init();
WM_MULTIBUF_Enable(1);
GUI_SetBkColor(GUI_BLUE);
GUI_Clear();
GUI_SetPenSize(10);
GUI_FillCircle (100, 60, 50);
GUI_DrawCircle (250, 100, 50);
GUI_DrawLine(200,200,300,350);
GUI_DrawLine(400,200,200,350);
GUI_FillRect(100,400,300,450);
GUI_SetFont(GUI_FONT_32_1);
GUI_DispStringHCenterAt("ABCDEFG", 100, 320);
while (1);
}