Thanks for your interest. I haven't declared the variable as volatile, as you have pointed out, any probable issue because of that?. Since this single threaded, non-atomic read essential? I have shown the write part in the edited question. I have a bad taste about using globally variable in Arduino code. Is there are possibility that the variable AdjOffsetFlag was randomly turn on? that would be bad though. I am not using this variable elsewhere in the program.