Take a look at
if you haven’t. One thing off the top of my head is the use of detachInterruot in his examples.
I had better luck (total success) cutting and pasting from his examples. The libraries I used were less useful; TBH this may have been before I knew at all what I was up to rather than to be taken as an indictment.
But that link has a great deal of good info and is worth the time.
Also I wasn’t using LEO, rather UNO and a pro micro that I did the standard low power modifications to. So there may be some LEO specific problem unaddressed in a library or your use of it.
a7