I have an integer that contains 0cDEAD. I need to split the high and low byte into separate bytes.
char c16; uint16_t ui16 = 0xdead; memcpy( c16, ui16, 2 );
But Studio spits up about a cast and memcpy looking for CONST VOID.
Any ideas on how to do this simply?