/* Write a hexadecimal number on lower alphanumeric part of Segment LCD display.  */
void SegmentLCD_LowerHex(uint32_t num)
/* Write a hexadecimal number on lower alphanumeric part of Segment LCD display.  */
void SegmentLCD_LowerHex(uint32_t num)
{
  int       i;
  char      str[7];
  uint32_t  nibble;
  SegmentLCD_Symbol(LCD_SYMBOL_MINUS, 0);
  for ( i=6; i>=0; i-- )
  {
    nibble = num & 0xF;
    if ( nibble < 10 )
      str[i] = nibble + '0';
    else if ( nibble == 11 )
      str[i] = 'b';
    else if ( nibble == 13 )
      str[i] = 'd';
    else
      str[i] = (nibble - 10) + 'A';
    num >>= 4;
  }
  SegmentLCD_Write(str);
}