def byte_to_int16(lsb, msb):
    """
    Converts two bytes (lsb, msb) to an int16
    :param lsb: Least significant bit
    :param msb: Most significant bit
    :return: the 16 bit integer from the two bytes
    """
    return (msb << 8) | lsb