Arm Community
Site
Search
User
Site
Search
User
Support forums
Keil forum
char to hex value
State
Not Answered
Locked
Locked
Replies
4 replies
Subscribers
20 subscribers
Views
1419 views
Users
0 members are here
Keil C51 Tools
Options
Share
More actions
Related
How was your experience today?
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion
char to hex value
Ploumen Loïc
over 20 years ago
Hello,
I have a little problem displaying a char to an hex value.
char t; t = 0x01; printf("%x",t);
This code outputs 100 where I expected to get 1... Am I doing something wrong ?
0
Quote