kle4ka

P1_ON_OFF_RELAY_1MIN

Dec 4th, 2020
509
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. int relayInput = 26;
  3.  
  4. void setup() {
  5.  pinMode(relayInput, OUTPUT);
  6.  
  7. }
  8.  
  9. void loop() {
  10.   digitalWrite(relayInput, HIGH);
  11.   delay(60000);
  12.   digitalWrite(relayInput, LOW);
  13.   delay(60000);
  14. }
RAW Paste Data