using 2 interrupt pins (2,3) inside a node.
Development
3
Posts
2
Posters
2.1k
Views
1
Watching
-
Hi
I have a sensor that in some cases can raise 2 interrupt pins on the sensor one for each case.
I see when I'm going to sleep I can only attach one interrupt pin to sleeping mode:bool sleep(int interrupt, int mode, unsigned long ms=0);
can I attach 2 separate arduino pins (2,3) to the 2 separate sensor pins and get out from sleep with either one of them?
thanks.
-
Hi
I have a sensor that in some cases can raise 2 interrupt pins on the sensor one for each case.
I see when I'm going to sleep I can only attach one interrupt pin to sleeping mode:bool sleep(int interrupt, int mode, unsigned long ms=0);
can I attach 2 separate arduino pins (2,3) to the 2 separate sensor pins and get out from sleep with either one of them?
thanks.