Page 1 of 2

Interrupts example

Posted: 30 Sep 2016 14:16
by vs5067
Is it possible to use standard Arduino interrupts examples? If not are any examples exist?

Re: Interrupts example

Posted: 01 Oct 2016 11:31
by PoltoS
Not yet. This will be added later on.

Re: Interrupts example

Posted: 03 Oct 2016 18:57
by vs5067
Does it mean that interrupts are not supported yet or example does not exist?

Re: Interrupts example

Posted: 03 Oct 2016 22:06
by PoltoS
You can only wake up Z-Uno from sleep using INT1 or key scanner interrupt. But you can not yet attach handlers - we do not support this yet.

Re: Interrupts example

Posted: 04 Oct 2016 12:05
by affanalhakam
I was using INT1 and key scanner for waking up Z-Uno from sleep. But, that's not working at all. I think the problem is that's not supported attach handlers yet.
Can you please give us a simple example for INT1?

Re: Interrupts example

Posted: 04 Oct 2016 16:02
by affanalhakam
Got it! :D Thanks

Re: Interrupts example

Posted: 07 Oct 2016 06:52
by vs5067
Could you please share the example?

Re: Interrupts example

Posted: 08 Oct 2016 16:12
by p0lyg0n1
Hi. We need some time to do it. Z-Uno differs from Arduino board significantly. It uses special layer between user sketch and hardware. This layer makes all z-wave tasks, works with hardware interfaces and so on. Just say this layer is a small RTOS. Your sketch is a task of it. So, at this moment it has no ability to share interrupt vectors with user sketch. I hope we will do it in the next release. You can use INT1 input of Z-Uno to wakeup sleeping device. To this purpose you can use builtin keypad controller too, but you can't handle any hardware interrupt directly.

Re: Interrupts example

Posted: 12 Oct 2016 10:49
by affanalhakam
You can use the example from zuno website. The point is, once your zuno board is connected to the controller, It will wake up when you press the service button.

Re: Interrupts example

Posted: 22 Nov 2016 22:37
by droll
Any idea when the new firmware revision will be available that supports user interrupt routines?