Interrupt sketch for RC receiver