Go Down

Topic: Re: digitalRead on Analog pins aways return same value (Read 376 times) previous topic - next topic


If you want to read analog pin 2 as a digital pin you should read digital pin 15. Digital pin 14 is analog pin 1, digital pin 15 is analog pin 2, etc.

Check out our new shield: http://www.ruggedcircuits.com/html/gadget_shield.html


Very close :-)
Analog pin 0 ist digital pin 14 e.t.c.


Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131