27 lines
447 B
Arduino
27 lines
447 B
Arduino
|
const int L = 2;
|
||
|
const int I = 3;
|
||
|
const int N = 4;
|
||
|
const int K = 5;
|
||
|
|
||
|
void setup() {
|
||
|
pinMode(L, OUTPUT);
|
||
|
pinMode(I, OUTPUT);
|
||
|
pinMode(N, OUTPUT);
|
||
|
pinMode(K, OUTPUT);
|
||
|
}
|
||
|
|
||
|
void loop() {
|
||
|
digitalWrite(L, HIGH);
|
||
|
delay(1000);
|
||
|
digitalWrite(L, LOW);
|
||
|
digitalWrite(I, HIGH);
|
||
|
delay(1000);
|
||
|
digitalWrite(I, LOW);
|
||
|
digitalWrite(N, HIGH);
|
||
|
delay(1000);
|
||
|
digitalWrite(N, LOW);
|
||
|
digitalWrite(K, HIGH);
|
||
|
delay(1000);
|
||
|
digitalWrite(K, LOW);
|
||
|
}
|