Corrected pwmWrite example