This library work great for me. You only need disable external interrupts before include header.
#define EI_NOTEXTERNAL // Do not use external interrupts in EnableInterrupt lib
#include <EnableInterrupt.h>
This library work great for me. You only need disable external interrupts before include header.
#define EI_NOTEXTERNAL // Do not use external interrupts in EnableInterrupt lib
#include <EnableInterrupt.h>