I have a integer value e.g. : int data_value = 1150;
I want to split this into two binary variables like this: value is binary_data_value 0X04,0X7E
It just needs to be 2 binary values which, are 8 bits long each.
How is it best to go about this?
Thanks