Fixed delayed PWM caused by loops in interrupts. Added some RC input tests