@w3asaactive 1 day, 8 hours ago
The Mayfly has 3 hardware interrupts. They are RXD1 (INT0), TXD1 (INT1), and D10 (INT2). To use the “attachInterrupt” function, you can only use the three hardware interrupt pins, and you have to refer to them as “0”, “1”, or “2”. So if you want to use the D10 interrupt pin, you’ll need to say the following on line 8:
Your code looks close to what I am trying to do with the Atlas sensors. However, it wouldn’t compile due to missing SDI12.h library. Is this just for the SDI-12 protocol which I am not using for the Atlas senors?