Go Down

Topic: ARDUINO UNO - IO (Read 1 time) previous topic - next topic

sidbharij

Can I use the pwm pins 3,5,6,9,10,11 for digital io(like 2,4,8,12,13). Any reply would be really appreciated.

Thanks,
Sid

johnwasser

Yes.  You can digitalWrite()/digitalRead() pins 0 through 19 (D0-D13 and A0-A5)

You can analogRead() analog pins 0-5, a.k.a. A0-A5, a.k.a. 14-19

You can analogWrite() all pins but the non-PWM pins will be LOW for values from 0 to 127 and HIGH for values from 128 to 255.
Send Bitcoin tips to: 1G2qoGwMRXx8az71DVP1E81jShxtbSh5Hp

Go Up