Interrupts on Gateway
-
I am new to MySensors and greatly enjoy it. Thank you to all contributors for this great project!
Experimenting with a few nodes I have come across a problem I couldn't find a solution to: Is there a way to use the interrupts on a gateway node? What I tried to do is connect a PIR to my gateway. However, from what I gather, since it is a gateway I cannot use the sleep function to attach the interrupts, correct?
So my question would be: What's the proper way to use interrupts without the sleep function?
Thank you for any hints & help!
-
@smartalek
https://www.arduino.cc/reference/en/language/functions/external-interrupts/attachinterrupt/