Hello,
I am using CCS12.0 and C2000 microcontrollers. It looks some C standard function call like sprintf() behave differently from C standard ones. For example, when "%f" is applied as a format, the program goes nowhere. When "%d" is applied, it has no problem.
char newMsg[MAX_UART_PRINTF_LEN] = {""};
sprintf(newMsg, "\r\nabcdefghijklmn %f.\n\0", abc);
Does any one know why it behaves like this?
Thanks!
Crane