Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Arduino source code for KC868-AP]-01 _relay_control
#1
 [Arduino source code for KC868-AP]-01 _relay_control
Code:
void setup() {
  pinMode(13,OUTPUT);
  pinMode(2,OUTPUT);

}

// the loop function runs over and over again forever
void loop() {


  digitalWrite(2, HIGH);
  delay(1000);
  digitalWrite(13, HIGH);
  delay(1000);
  digitalWrite(2, LOW);
  delay(1000);
  digitalWrite(13, LOW);

}


Attached Files
.zip   KC868_AP_relay.zip (Size: 535 bytes / Downloads: 185)
Reply


Forum Jump:


Users browsing this thread:
1 Guest(s)