Other Parts Discussed in Thread: TMP006
Tool/software: Code Composer Studio
Hi,
I have a problem with UARTprintf:
UARTprintf("Value is %d\n",2) prints Value is 2
but
UARTprintf("Value is %d\n",2.1) prints Value is 760
In fact for any decimal number it is always wrong. Am I misunderstanding the %d format?
Thanks