Is there a "if(digitalstate(led)==HIGH)" or something?
Thanks PaulS It works. I thought digitalRead was for pinMode(..., INPUT) only...tim
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