motor encoder interrupts working fine