Thank you John. I didn't know that. A quick check showed both analogRead and analogWrite do not use pinMode. I've corrected the post to reflect your correction.
Thank you John. I didn't know that. A quick check showed both analogRead and analogWrite do not use pinMode. I've corrected the post to reflect your correction.