using 2 interrupt pins (2,3) inside a node.
-
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.
-
Have you tried the other sleep function?
https://github.com/mysensors/Arduino/blob/master/libraries/MySensors/MySensor.h#L244
-
ooouuu sorry missed that....(you really thought on everything with this library....)