fix for pwm-out, not every port support analogWrite();