Pages: [1]   Go Down
Author Topic: setting a pin high the 2nd time  (Read 403 times)
0 Members and 1 Guest are viewing this topic.
South East USA
Offline Offline
God Member
*****
Karma: 4
Posts: 636
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Montreal
Online Online
Edison Member
*
Karma: 23
Posts: 2485
Per aspera ad astra.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset


Not at all, it would not change anything.
Logged

Pages: [1]   Go Up
Jump to: