Hello Everyone!!
I am trying to use EXTI with pyb. How do I un register a previously registered interrupt and register it again.
Thanks!!
Unregistering an EXTI - pyb
Unregistering an EXTI - pyb
lnsri22
Re: Unregistering an EXTI - pyb
Are you using pyb.ExtInt ? http://docs.micropython.org/en/latest/l ... xtInt.html
You can use the enable and disable methods.
Otherwise if you're using Pin interrupts (i.e. machine.Pin), you can use pin.irq(handler=None) to disable the interrupt.
You can use the enable and disable methods.
Otherwise if you're using Pin interrupts (i.e. machine.Pin), you can use pin.irq(handler=None) to disable the interrupt.
Re: Unregistering an EXTI - pyb
Thanks for the suggestion!!
Let me give it a try and get back
Let me give it a try and get back
lnsri22
Re: Unregistering an EXTI - pyb
Thanks again!!
Sorry for getting back too late on this.
Worked as well
Sorry for getting back too late on this.
Worked as well
lnsri22