bLINK/Blink/Blink.ino

27 lines
483 B
Arduino
Raw Normal View History

2019-12-29 17:39:41 +00:00
const int L = 3;
const int I = 5;
2019-12-28 19:05:20 +00:00
const int N = 4;
2019-12-29 17:39:41 +00:00
const int K = 6;
2019-12-28 19:05:20 +00:00
void setup() {
pinMode(L, OUTPUT);
pinMode(I, OUTPUT);
pinMode(N, OUTPUT);
pinMode(K, OUTPUT);
}
void loop() {
digitalWrite(L, HIGH);
2019-12-29 17:39:41 +00:00
delay(1000); // in ms
2019-12-28 19:05:20 +00:00
digitalWrite(L, LOW);
digitalWrite(I, HIGH);
2019-12-29 17:39:41 +00:00
delay(1000); // in ms
2019-12-28 19:05:20 +00:00
digitalWrite(I, LOW);
digitalWrite(N, HIGH);
2019-12-29 17:39:41 +00:00
delay(1000); // in ms
2019-12-28 19:05:20 +00:00
digitalWrite(N, LOW);
digitalWrite(K, HIGH);
2019-12-29 17:39:41 +00:00
delay(1000); // in ms
2019-12-28 19:05:20 +00:00
digitalWrite(K, LOW);
}