If you do this you might not need to debounce (At least I don't bother in my code and it works fine) I think the time it takes LUA to process the initial interrupt gives the button time to return to its initial state.
If you do this you might not need to debounce (At least I don't bother in my code and it works fine) I think the time it takes LUA to process the initial interrupt gives the button time to return to its initial state.