Pulses an LED using PWM.