Interrupt message now gets parameters from the board and debounce time is added to attach interrupt.