Add external interrupt

Add external interrupt 0 to control speed