Success!
I googled around for a BCD --> DEC conversion utility function and found
uint8_t bcdToDec(uint8_t val)
{
return ( (val / 16 * 10) + (val % 16));
}
And the output appears to be correct. Thanks again.
Success!
I googled around for a BCD --> DEC conversion utility function and found
uint8_t bcdToDec(uint8_t val)
{
return ( (val / 16 * 10) + (val % 16));
}
And the output appears to be correct. Thanks again.