More info is needed, but here is a guess:
You maybe want two integers stored together, a simple bit shift might do.
uint8_t A;
uint8_t B;
uint16_t C =( A << 8 ) | B;
More info is needed, but here is a guess:
You maybe want two integers stored together, a simple bit shift might do.
uint8_t A;
uint8_t B;
uint16_t C =( A << 8 ) | B;