Using two outputs

analogWrite() produces PWM (look up the manual).
Link is already in my post #14.