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 -
ESP-NOW
General Discussion • 22 Apr 2018, 05:58 • NeverDie 17 Feb 2025, 22:24 -
What is form factor?
General Discussion • 15 Jan 2025, 07:33 • Luosi 15 Jan 2025, 07:33 -
Which device I have to use to connect with accelerometer before connecting to my pc?
General Discussion • 24 Jan 2023, 17:16 • Yada Kijsathan 12 days ago -
Human presence sensors....
General Discussion • 31 Jan 2025, 10:54 • skywatch 9 Feb 2025, 19:36 -
Meet in Malmö, Summer 2016?
General Discussion • 1 Feb 2016, 15:34 • bjacobse 25 days ago