PWM'S to zero

any one knows how to set all PWM outputs in a mega to zero at the same time?

carjim123: any one knows how to set all PWM outputs in a mega to zero at the same time?

You can't do anything to two different pins AT THE SAME TIME, unless the pins all belong to the same port. Not all PWM pins on any Arduino belong to the same port.

The length of time that it takes a for loop to turn all the PWM pins off is going to be very short. Why is that not sufficient?