-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcode.CC
42 lines (39 loc) · 884 Bytes
/
code.CC
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
//Arduino uses a variant of the C++ programming language
//To run this code in your Arduino UNO R3 use the Arduino IDE provided in their official website
void setup() {
// put your setup code here, to run once:
pinMode(9, OUTPUT);
}
void loop() {
// put your main code here, to run repeatedly:
digitalWrite(9, LOW);
delay(800);
digitalWrite(9, HIGH);
delay(800);
digitalWrite(9, LOW);
delay(800);
digitalWrite(9, HIGH);
delay(800);
digitalWrite(9, HIGH);
delay(800);
digitalWrite(9, LOW);
delay(800);
digitalWrite(9, HIGH);
delay(800);
digitalWrite(9, LOW);
delay(400);
digitalWrite(9, HIGH);
delay(400);
digitalWrite(9, LOW);
delay(400);
digitalWrite(9, HIGH);
delay(400);
digitalWrite(9, LOW);
delay(400);
digitalWrite(9, HIGH);
delay(400);
digitalWrite(9, LOW);
delay(400);
digitalWrite(9, HIGH);
delay(1000);
}