Feb 09, 2018
03:23 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 09, 2018
03:23 AM
Hello,
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.
Solved! Go to Solution.
Labels
- Labels:
-
PSoC 4 Architecture
1 Solution
Feb 09, 2018
10:55 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 09, 2018
10:55 AM
1 Reply
Feb 09, 2018
10:55 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 09, 2018
10:55 AM
Use sprintf() with "%d" format.
Bob