Thank you, Tim! Now it works. It doesn't break my timers and PWM outputs :). Great, just what I've needed for my project.