Interrupts example

Discussion about Z-Uno product. Visit http://z-uno.z-wave.me for more details.
User avatar
PoltoS
Posts: 7565
Joined: 26 Jan 2011 19:36

Re: Interrupts example

Post by PoltoS »

Next week. We will start with one interrupt available (just to debug it) and then if OK, will do more.
Junaid_224
Posts: 3
Joined: 15 Mar 2018 11:58

Re: Interrupts example

Post by Junaid_224 »

Hello , i am also having the same problem but when i get the value of the sensor the led still blinking and not going back to sleep and i have four sensor how can i manage that?
Steve_Elves
Posts: 22
Joined: 07 Aug 2022 21:54

Re: Interrupts example

Post by Steve_Elves »

When I use the "attachInterrupt(digitalPinToInterrupt..." syntax with any digital pin, I get a compile error that says, "'digitalPinToInterrupt' was not declared in this scope". Is this functionality working?
amatilda
Posts: 60
Joined: 26 Sep 2021 22:09

Re: Interrupts example

Post by amatilda »

Hello.
There was an inaccuracy in the description of attachInterrupt - you don't need to use digitalPinToInterrupt.

https://z-uno.z-wave.me/Reference/Inter ... Interrupt/
Steve_Elves
Posts: 22
Joined: 07 Aug 2022 21:54

Re: Interrupts example

Post by Steve_Elves »

Thank you, Amatilda! That's what I suspected...
Post Reply