Page 1 of 1

Clear ExtInt?

Posted: Wed May 25, 2016 1:16 am
by dastultz
Hello,

I've put together a "rapid development cycle" thingy where my main program is a module which I reload without restarting/rebooting. I'm also using ExtInt. It works the first time but crashes on reload because the interrupt is already installed. Is there any way to clear the previous interrupt registered?

Thanks.

/Daryl

Re: Clear ExtInt?

Posted: Wed May 25, 2016 1:27 am
by dhylands
Installing a callback of None should disable the interrupt.

Re: Clear ExtInt?

Posted: Wed May 25, 2016 11:14 am
by dastultz
Excellent, that did the trick, thanks.

/Daryl