I am working on an Arduino UNO Project and running out of digital pins.
Can I convert the six analog pins to digital I/O and use them to drive servos?
Please suggest me a method
I am working on an Arduino UNO Project and running out of digital pins.
Can I convert the six analog pins to digital I/O and use them to drive servos?
Please suggest me a method
A0 through A5 already have GPIO capability; treat them as you would any other non-PWM pin.
A6 and A7, found in similar boards that use a SMD package, do not have any GPIO capability whatsoever and can only be used for analog input.
digitalWrite(A0)
or digitalWrite(14)
and the effect would be the same.
– CharlieHanson
Jul 30 '15 at 10:51