First I have tried it with int32_t. But the result was not ok. The tip with the right declaration (int16_t) is the right solution.
Thank a lot for your answers. I don't think I would have ever found the solution.
Gary
Hi
Sometimes Im a little confused and the smallest solution seems to be the biggest problem.
For example I have a hex number FFFF and I want to print it on a display. I need to print it with the sign in front. So this should be a signed int...