Bind to interrupt after setting pin mode so as not to trigger ourself