/* Display the application header (title) on the LCD screen.  */
void LCD_LOG_SetHeader(uint8_t *Title)
/* Display the application header (title) on the LCD screen.  */
void LCD_LOG_SetHeader(uint8_t *Title)
{
  sFONT *cFont;
  uint32_t size = 0 , idx; 
  uint8_t  *ptr = Title;
  uint8_t  tmp[27];
  while (*ptr++) size ++ ;
  if(size > 26)
  {
     size = 26;
  }
  for (idx = 0 ; idx < 27 ; idx ++)
  { 
    tmp[idx] = ' '; 
  }
  for (idx = 0 ; idx < size ; idx ++)
  { 
    tmp[idx + (27 - size)/2] = Title[idx];
  }
  LCD_Clear(Black);
  LCD_SetFont (&Font12x12);
  cFont = LCD_GetFont();
  LCD_SetTextColor(White);
  LCD_SetBackColor(Blue);
  LCD_ClearLine(0);
  LCD_DisplayStringLine(cFont->Height, tmp);
  LCD_ClearLine(2 * cFont->Height);
  LCD_SetBackColor(Black);
  LCD_SetFont (&Font8x12);
}