Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Arduino source code for KC868-AM]-04 RELAY
#1
Code:
/*KC868-AM  relay  output*/
#define RELAY 15
void setup() {
  pinMode(RELAY, OUTPUT);
}

// the loop function runs over and over again forever
void loop() {
    digitalWrite(RELAY, HIGH);
    delay(1000);
    digitalWrite(RELAY, LOW);
    delay(1000);
}


Attached Files
.zip   AM_Relay.zip (Size: 485 bytes / Downloads: 138)
Reply


Forum Jump:


Users browsing this thread:
1 Guest(s)