added arduino archive programs to /firmware/ref/archive-code/arduino
[athena:athena.git] / firmware / ref / archive-code / arduino / sketch_jun07b / sketch_jun07b.pde
1 void setup()
2 {
3   pinMode(3,OUTPUT);
4   pinMode(5,OUTPUT);
5   pinMode(6,OUTPUT);
6   
7   pinMode(7,INPUT);
8   pinMode(8,INPUT);
9   pinMode(9,INPUT);
10   
11 }
12
13 void loop()
14 {
15   digitalWrite(3,1);
16   delay(500);
17     digitalWrite(3,0);
18     digitalWrite(5,1);
19   delay(500);
20     digitalWrite(5,0);
21     digitalWrite(6,1);
22   delay(500);
23   digitalWrite(6,0);
24   
25 }
26
27   \r