Signals and DSP · Fourier series

The spectrum of PWM

A PWM signal's spectrum depends on its duty cycle, which matters when you filter it to make an analog voltage or avoid noise.