14 lines
173 B
Arduino
14 lines
173 B
Arduino
|
// Relay
|
||
|
int relay = 7;
|
||
|
|
||
|
void setup() {
|
||
|
pinMode(relay, OUTPUT);
|
||
|
}
|
||
|
|
||
|
void loop() {
|
||
|
digitalWrite(relay, HIGH);
|
||
|
delay(10000);
|
||
|
digitalWrite(relay, LOW);
|
||
|
delay(5000);
|
||
|
}
|