This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Compiler/MSP430FR2433: Issue with sprintf with unsigned int

Part Number: MSP430FR2433

Tool/software: TI C/C++ Compiler

Hi,

I'm tryng to print unsigned integer through uart  on teraterm. so, i specified my format specifier as %u. the compiler is not accepting it. So, can anyone have any idea to print my unsigned integer ?

                                          sprintf(debug_string, "Distance: %u", result);

My IDE is CCS with V8 version.

Thankyou,

Manideep

**Attention** This is a public forum