BCD a Char C
void BCD_To_ASCII(unsigned char bcd_value, char * p_ascii_text)
{
//--------------------------------------------------
// BCD contains digits 0 .. 9 in the binary nibbles
//--------------------------------------------------
*p_ascii_text++ = (bcd_value >> 4) + '0';
*p_ascii_text++ = (bcd_value & 0x0f) + '0';
*p_ascii_text = '\0';
return;
}
Funny Fowl