SDK v.2.0 for TWR-KV58F220M
The PRINTF function does not seem to print leading zeroes. For example:
PRINTF("0x%08X\n\r", 0xabcdef42U);
PRINTF("0x%08X\n\r", 0xabcdefU);
generates an output of:
0xABCDEF42
0x ABCDEF
Why is this normal behavior? To my understanding, printf() should print leading zeroes when using the %08X format.
Hi, Michael,
I think the Printf() function omits the leading zero, this is a normal behaviour.
Sorry for not helping you.
BR
XiangJun Rong
Why is this normal behavior? To my understanding, printf() should print leading zeroes when using the %08X format.
Michael