cancel
Showing results for 
Search instead for 
Did you mean: 

IS it possible to buid an applications that moves a circle around the screen on a STM32F42I discovery utilizing the BSP_LCD drivers? I've tried by deleting and drawing the new circle, but there is some flickering when I draw below 500 msec. Thanks, Piero

Hicss.2033
Associate III

Here is the code. I'm looking for a solution that works with BSP_LCD (perhaps with other call)

while(1){

HAL_Delay(300);

x+=10;

BSP_LCD_SetTextColor(LCD_COLOR_WHITE);

BSP_LCD_FillCircle(BSP_LCD_GetXSize()/3+x-10, BSP_LCD_GetYSize()/3, CIRCLE_RADIUS);

//HAL_Delay(5);

BSP_LCD_SetTextColor(LCD_COLOR_GREEN);

BSP_LCD_FillCircle(BSP_LCD_GetXSize()/3+x, BSP_LCD_GetYSize()/3, CIRCLE_RADIUS);

}

0 REPLIES 0