/* Write number on lower alphanumeric part of Segment LCD display.  */
void SegmentLCD_LowerNumber(int num)
/* Write number on lower alphanumeric part of Segment LCD display.  */
void SegmentLCD_LowerNumber(int num)
{
  int i;
  char str[7];
  SegmentLCD_Symbol(LCD_SYMBOL_MINUS, 0);
  if ( ( num > 9999999 ) || ( num < -9999999 ) )
  {
    SegmentLCD_Write("Ovrflow");
    return;
  }
  if ( num < 0 )
  {
    SegmentLCD_Symbol(LCD_SYMBOL_MINUS, 1);
    num = -num;
  }
  for ( i=6; i>=0; i-- )
  {
    if ( ( i < 6 ) && ( num == 0 ) )
    {
      str[i] = ' ';
    }
    else
    {
      str[i] = (num % 10) + '0';
      num /= 10;
    }
  }
  SegmentLCD_Write(str);
}