create run thread for interrupt
start implement edge detection interrupts