Analog Kid
Newbie level 6
- Joined
- Dec 9, 2001
- Messages
- 12
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,281
- Location
- Toronto, Ontario, Canada
- Activity points
- 14
unsigned int to char conver c
Can't seem to get this to work in 'C' !
Here's what I want to do in simple terms:
X = 0xF840 unsigned int
split the two bytes up to get:
Y = 0xF8 unsigned char
Z = 0x40 unsigned char
using Hi-Tech C.
HELP!
Can't seem to get this to work in 'C' !
Here's what I want to do in simple terms:
X = 0xF840 unsigned int
split the two bytes up to get:
Y = 0xF8 unsigned char
Z = 0x40 unsigned char
using Hi-Tech C.
HELP!