In my project, i am reading data from RS4858 & displaying response to debug console.
In that, i need to print 32-bit signed data to debug console.
I am receiving data in correct variable but at displaying it prints its Unsigned int version.
Ex for -100 it display 65436.
Please help me solve to solve this issue.
Use sprintf() with "%d" format.