Go Down

Topic: setting a pin high the 2nd time (Read 805 times) previous topic - next topic


Does it hurt anything to do this:
  digitalWrite(SolenoidPin, HIGH);  //turn on the water valve
...if the pin was already high?


Not at all, it would not change anything.

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