def set_bit(index: int, value: int=0) ->int:
    """
    Set the bit on index to one.

    Parameters
    ----------
    index : int
        The index of the bit to set to one
    value : int
        The initial byte (as int) in which to set the index bit to one (default=0x00)

    Returns
    -------
    int
        The changed value (with the set bit)
    """
    return value | 1 << index
