added gpio for interrupt pin