bLINK/Blink/Blink.ino

27 lines
447 B
Arduino
Raw Normal View History

2019-12-28 19:05:20 +00:00
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);
}