What about when defining digital inputs? int inputpin = 0; right?
const int inputpin = 3; // Input from our sensor
Analog pins have the letter A but what about digital?
Analog pins being used as digital pins have an alias defined
Yes, they are physically different pins, but analogue pins can be used as digital I/O pins.Analogue pin 0 is digital pin 14.
Please enter a valid email to subscribe
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