I have a single uint_16 value that I need to break down into two separate uint8_t values so I can store them in a char. I intend to reform the two values at a later date and get the uint16_t value I had originally.
Can someone help me out? I have no idea how to go about doing this :S
Thank you very much
Code:uint16_t value = 0xFFFF; uint8_t partA; uint8_t partB; ?