and an analog input ( witch is the most appropriate input for this project ) can not read digital outputs.
digital = (analogRead(pin) > 512); //Assume logic 1 if > 50%
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