Problem with using analogWrite and digitalWrite.