The <writebit> block writes a bit to an integer:
•« in » : This is the integer whose bit is being changed. The default value is 0 (type: int)
•« bit# » : This is the bit number, from 0 to 63 (or higher). The default value is 0 (type int). Since an int in Python has no upper limit, “bit#” can be greater than 63.
•bit_value ; This is the value (True/False) of bit `bit#`, which is written to the output
•« out » : The output value is identical to the “in” input, except that bit “bit#” is changed to the value provided by the “bit_value” input
The “in” and “bit#” inputs are of type: int
The “bit_value” input is of type: bool
The “out” output is of type: int
See also the <readbit> block