Is it ok to put ” noInterrupts()” within an Interrupt service routine?
Haven’t started it yet, but have a project ( cat flap with in and out switches - the flap can bounce in the other direction after opening ) where I will use two interrupts - when which ever one triggers first I will want to stop the other or any repeat triggers for a time period .
I realise I can do this as soon as I come out of the service function , but thought it would be tidy to put it inside and wondered if this was ok
? ( my timer will be outside)