03-22-2023, 12:53 AM
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);
}