A library for creating portable atomic blocks within your program
A portable way to do atomic operations. Exposes portable macros that automatically save the interrupt register, disable interrupts, perform your atomic operations, then restore the register to its saved value.

Author: Aaron Wisner

Maintainer: Aaron Wisner

Read the documentation


This library is compatible with all architectures so you should be able to use it on all the Arduino boards.


To use this library, open the Library Manager in the Arduino IDE and install it from there.