connect Interrupts and Pins