splitting hexadecimal byte

How do i put together two bits to one byte?

DataByte[0] = (DataParts[0] << 4) | DataParts[1]