Does any know how to represent an int as a byte-wide variable in C. I know CHAR is byte, wide. However, I would prefer to work with int, since I can make direct hexadecimal assigments.
OR UNLESS... can I make direct hex assigments to a char type variable?
Such as:
int hex;
char ch;
hex = 0x001A; //I know this is valid
ch = 0x00FF; //is this valid???
Anyone help?
Thanks in Advance
~jc