Interrupts example
Interrupts example
Is it possible to use standard Arduino interrupts examples? If not are any examples exist?
Re: Interrupts example
Not yet. This will be added later on.
Re: Interrupts example
Does it mean that interrupts are not supported yet or example does not exist?
Re: Interrupts example
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.
-
- Posts: 5
- Joined: 30 Sep 2016 09:26
Re: Interrupts example
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?
Can you please give us a simple example for INT1?
Re: Interrupts example
Could you please share the example?
Re: Interrupts example
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.
-
- Posts: 5
- Joined: 30 Sep 2016 09:26
Re: Interrupts example
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
Any idea when the new firmware revision will be available that supports user interrupt routines?