Hi,
I was wondering if I know there is surge of interrupts coming due edge triggering, and I'd like to ignore those for the time being, could I somehow unregister the callback, end register it back later?
So far I only found a way to register callback.
BR,
ikke
unregister interrupt handler (callback)?
- pythoncoder
- Posts: 5956
- Joined: Fri Jul 18, 2014 8:01 am
- Location: UK
- Contact:
Re: unregister interrupt handler (callback)?
I think you can issue Pin.irq with handler=None. However I've never actually tried this.
Peter Hinch
Index to my micropython libraries.
Index to my micropython libraries.