Keep PWM signal in loop with other things

You got it :slight_smile:

Eventually replace the delay() by non-blocking debounce code.