initial firmware
This commit is contained in:
commit
93be4258f4
1 changed files with 26 additions and 0 deletions
26
Blink/Blink.ino
Normal file
26
Blink/Blink.ino
Normal file
|
@ -0,0 +1,26 @@
|
|||
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);
|
||||
}
|
Loading…
Reference in a new issue