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/
1 out of 2
Suggested Topics
-
Update RF24 library to latest version
Bug Reports • 23 Mar 2014, 23:37 • andriej 24 Mar 2014, 22:52 -
Human presence sensors....
General Discussion • 31 Jan 2025, 10:54 • skywatch 9 Feb 2025, 19:36 -
Why is the output of ACS712 current measurement module unchanged?
General Discussion • 19 Jul 2021, 09:09 • Tessie T 7 days ago -
No merge into master in the last 5 years, should we use development?
General Discussion • 23 Sept 2024, 17:48 • kiesel 11 days ago -
Meet in Malmö, Summer 2016?
General Discussion • 1 Feb 2016, 15:34 • bjacobse 4 Mar 2025, 00:29 -
ESP32 with LoRa
General Discussion • 31 Jan 2023, 11:06 • dhanushmh 3 days ago