I’m looking for some advice for a project I’m working on.
I have an Electron connected to a LoRa module. (sx1276) operating as a Callback receiver.
The Electron waits for a signal from DIO0 on the LoRa which is connected to D2 on the Electron to begin the data RX.
The issue I am having is that I also want the Electron to wait on this signal to wake up from sleep mode. ie. System.sleep(D2, RISING);
The issue I am having is that when D2 goes high, the Electron wakes up but I’m not getting the data from the LoRa module. I think the reason is that both System.sleep and the SPI code for LoRa are looking for the rising edge however only the System.sleep part is able to see it.