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?
hex = 0x001A; //I know this is valid
ch = 0x00FF; //is this valid???
Thanks in Advance