only if your counts rush in at a very high frequency
executing the lines
noInterrupts();
interruptedVar = x+5;
interrupts();
takes less than a millisecond
only if your counts rush in at a very high frequency
executing the lines
noInterrupts();
interruptedVar = x+5;
interrupts();
takes less than a millisecond