peripherals/c/lcd.c
/*******************************************************************************
* Function Name: lcd_clear_screen
********************************************************************************
* Summary: clears the entire screen with the provided color.  
*
* Return:
*  Nothing
*******************************************************************************/
Function Name: lcd_clear_screen
Summary: clears the entire screen with the provided color.

Nothing
Function Name : lcd_clear_screen Summary : clears the entire screen with the provided color . Nothing
void lcd_clear_screen(uint16_t bColor)
{
  uint16_t i,j;
  lcd_set_pos(0,COLS - 1, 0,ROWS - 1);
  for (i=0;i< ROWS ;i++)
  {
        for(j= 0; j < COLS; j++)
        {
            lcd_write_data_u16(bColor);
        }
  }
}
void lcd_clear_screen ( uint16_t bColor ) { uint16_t i , j ; lcd_set_pos ( 0 , COLS - 1 , 0 , ROWS - 1 ) ; for ( i = 0 ; i < ROWS ; i ++ ) { for ( j = 0 ; j < COLS ; j ++ ) { lcd_write_data_u16 ( bColor ) ; } } }
Function Name: lcd_clear_screen
Summary: clears the entire screen with the provided color.
Function Name : lcd_clear_screen Summary : clears the entire screen with the provided color .