I’m experiencing some issues when trying to write to the last bit of a long data type.
Bits 0-30 are working as expected ( see below figure with e.g. bit 29 activated, giving me a value of 536870912 ).
When writing to bit 31, all bits are set, but the value is correct ( see below figure ).
I guess this has to do with the long data type being signed?
Anyone knows if there is a workaround to handle this issue?