sei(); and cli(); alternative

Hi @pc1436,

The noInterrupts() and interrupts() functions should be the equivalent on the MKR1000 and also do the same on AVR boards.