---
# System prepended metadata

title: 高一自主 0322
tags: [測驗]

---

---
title: 高一自主 0322
tags: 測驗
---
> 測驗繳交處

> 格式:名字+照片+程式碼

### 楊政霖



```
void setup()
{
  pinMode(13, OUTPUT);
  pinMode(12, OUTPUT);
  pinMode(11, OUTPUT);
}

void loop()
{
  digitalWrite(13, HIGH);
  delay(5000); // Wait for 1000 millisecond(s)
  digitalWrite(13, LOW);
  delay(1000); // Wait for 10 millisecond(s)
  digitalWrite(12, HIGH);
  delay(1000); // Wait for 1000 millisecond(s)
  digitalWrite(12, LOW);
  delay(1000); // Wait for 10 millisecond(s)
  digitalWrite(11, HIGH);
  delay(8000); // Wait for 1000 millisecond(s)
  digitalWrite(11, LOW);
  delay(1000); // Wait for 10 millisecond(s)
}
```


### 徐曼凌
![](https://i.imgur.com/r4IXzft.png)
```
void setup()
{
  Serial.begin(9600);       
  pinMode(11, OUTPUT);
  pinMode(10, OUTPUT);
  pinMode(9, OUTPUT);
}  
 
void loop()
{
  digitalWrite(11, HIGH);          
  delay(5000);             
  digitalWrite(11, LOW); 
  digitalWrite(10, HIGH);
  delay(1000);
  digitalWrite(10, LOW); 
  digitalWrite(9, HIGH);
  delay(8000);
   digitalWrite(9, LOW);
}
```
![](https://i.imgur.com/rwT5G8r.png)
```
void setup()
{
  Serial.begin(9600);   
  
  pinMode(11, OUTPUT);
  pinMode(10, OUTPUT);
  pinMode(9, OUTPUT);
  
  pinMode(2, INPUT_PULLUP);
}  
 
void loop() 
{
  digitalWrite(11, LOW);
  digitalWrite(10, LOW);
  digitalWrite(9, LOW);
  
  if (digitalRead(2) == HIGH)
  { 
  	digitalWrite(11, HIGH);
  }
  else 
  {	
    digitalWrite(11, LOW);
    digitalWrite(10, HIGH);
    delay(1000);
    digitalWrite(10, LOW);
    digitalWrite(9, HIGH);
    delay(8000);
  }
}
```
### 陳弈劭
![](https://i.imgur.com/1xdlZQF.png)
```
void setup() {
  pinMode(8, OUTPUT);
  pinMode(12, OUTPUT);
  pinMode(7, OUTPUT);
}

void loop() {
  digitalWrite(8, HIGH); // sets the digital pin 13 on
  delay(5000);            // waits for a second
  digitalWrite(8, LOW);
  digitalWrite(12,HIGH);  // sets the digital pin 13 off
  delay(1000);            // waits for a second
  digitalWrite(12,LOW);
  digitalWrite(7,HIGH);  // sets the digital pin 13 off
  delay(8000);            // waits for a second
  digitalWrite(7,LOW);
}
```
### 葉宸瑋
![](https://i.imgur.com/THNIiO5.png)
```
void setup() {
  pinMode(8, OUTPUT);
  pinMode(12, OUTPUT);
  pinMode(7, OUTPUT);
}

void loop() {
  digitalWrite(8, HIGH); // sets the digital pin 13 on
  delay(5000);            // waits for a send
  digitalWrite(8, LOW);
  digitalWrite(12,HIGH);  // sets the digital pin 13 off
  delay(1000);            // waits for a second
  digitalWrite(12,LOW);
  digitalWrite(7,HIGH);  // sets the digital pin 13 off
  delay(8000);            // waits for a second
  digitalWrite(7,LOW);
}

```


### 林洋吾
![](https://i.imgur.com/edLorXy.png)
void setup()
{
  pinMode(13, OUTPUT);
}

void loop()
{
  digitalWrite(11, HIGH);
  delay(5000); // Wait for 5000 millisecond(s)
  digitalWrite(11, LOW);
  
  digitalWrite(12, HIGH);
  delay(1000); // Wait for 1000 millisecond(s)
  digitalWrite(12, LOW);
 
  digitalWrite(13, HIGH);
  delay(8000); // Wait for 8000 millisecond(s)
  digitalWrite(13, LOW);
 
}
### 陳紀綱
![](https://i.imgur.com/6tvVrdy.png)
void setup()
{
  pinMode(13, OUTPUT);
}

void loop()
{
  digitalWrite(11, HIGH);
  delay(5000); // Wait for 5000 millisecond(s)
  digitalWrite(11, LOW);
  
  digitalWrite(12, HIGH);
  delay(1000); // Wait for 1000 millisecond(s)
  digitalWrite(12, LOW);
 
  digitalWrite(13, HIGH);
  delay(8000); // Wait for 8000 millisecond(s)
  digitalWrite(13, LOW);
 
}
## 林怡瑄 許穎琦 ![](https://i.imgur.com/B3mzIYI.png)
void setup()
{
  pinMode(5, OUTPUT);
  pinMode(7, OUTPUT);
  pinMode(3, OUTPUT);
}

void loop()
{
  digitalWrite(5, HIGH);
  delay(5000); // Wait for 1000 millisecond(s)
  digitalWrite(5, LOW);
  delay(0); // Wait for 1000 millisecond(s)
   digitalWrite(7, HIGH);
  delay(1000); // Wait for 1000 millisecond(s)
  digitalWrite(7, LOW);
  delay(0); // Wait for 1000 millisecond(s)
   digitalWrite(3, HIGH);
  delay(8000); // Wait for 1000 millisecond(s)
  digitalWrite(3, LOW);
  delay(0); // 3Wait for 1000 millisecond(s)
} 







## 莊秉達 張益嘉![](https://i.imgur.com/SnYy9f4.png)

![](https://i.imgur.com/dfhfHb9.png)






## 吳昕濰 洪瑋伶
![](https://i.imgur.com/Tx0vLKC.png)
```
void setup() {
  pinMode(3, OUTPUT);
  pinMode(5, OUTPUT);
  pinMode(7, OUTPUT);
}

void loop() { 
  digitalWrite(3, LOW);
  digitalWrite(5, LOW);
  
  digitalWrite(7, HIGH);
  delay(5000);   
  
  digitalWrite(3, LOW);
  digitalWrite(5, HIGH);
  digitalWrite(7, LOW);
  delay(1000);
  
  digitalWrite(3, HIGH);
  digitalWrite(5, LOW);
  digitalWrite(7, LOW);
  delay(8000);
  
}
```
## 袁屹昀 
![](https://i.imgur.com/SrOuhf8.png)
void setup()
{
  pinMode(5, OUTPUT);
  pinMode(7, OUTPUT);
  pinMode(3, OUTPUT);
} 
          

void loop()
{
  digitalWrite(5, HIGH);
  delay(5000); // Wait for 1000 millisecond(s)
  digitalWrite(5, LOW);
  delay(0); // Wait for 1000 millisecond(s)
  digitalWrite(3, HIGH);
  delay(1000); // Wait for 1000 millisecond(s)
  digitalWrite(3, LOW);
  delay(0); // Wait for 1000 millisecond(s)
  digitalWrite(7, HIGH);
  delay(8000); // Wait for 1000 millisecond(s)
  digitalWrite(7, LOW);
  delay(0); // Wait for 1000 millisecond(s)
}

## 張婷昀
![](https://i.imgur.com/ZvtCBwg.png)
void setup()
{
  pinMode(5, OUTPUT);
  pinMode(7, OUTPUT);
  pinMode(3, OUTPUT);
}

void loop()
{
  digitalWrite(5, HIGH);
  delay(5000); // Wait for 1000 millisecond(s)
  digitalWrite(5, LOW);
  delay(0); // Wait for 1000 millisecond(s)
  digitalWrite(3, HIGH);
  delay(1000); // Wait for 1000 millisecond(s)
  digitalWrite(3, LOW);
  delay(0); // Wait for 1000 millisecond(s)
  digitalWrite(7, HIGH);
  delay(8000); // Wait for 1000 millisecond(s)
  digitalWrite(7, LOW);
  delay(0); // Wait for 1000 millisecond(s)
} 
## 黃冠博
![](https://i.imgur.com/xz2ZIsG.png)
void setup()
{
  pinMode(13, OUTPUT);
  pinMode(12, OUTPUT);
  pinMode(11, OUTPUT);
}

void loop()
{
  digitalWrite(13, HIGH);
  delay(5000); // Wait for 1000 millisecond(s)
  digitalWrite(13, LOW);
  delay(10); // Wait for 1000 millisecond(s)
  digitalWrite(12, HIGH);
  delay(1000); // Wait for 1000 millisecond(s)
  digitalWrite(12, LOW);
  delay(10); // Wait for 1000 millisecond(s)
  digitalWrite(11, HIGH);
  delay(8000); // Wait for 1000 millisecond(s)
  digitalWrite(11, LOW);
  delay(10); // Wait for 1000 millisecond(s)
}

 ##108陳翰星
 ![](https://i.imgur.com/sbTTWFQ.png)
  void setup() { 
  pinMode(5, OUTPUT);
  pinMode(7, OUTPUT);
  pinMode(13, OUTPUT);    // sets the digital pin 13 as output
}

void loop() {
  digitalWrite(13, HIGH); // sets the digital pin 13 on
  delay(5000);            // waits for a second
  digitalWrite(13, LOW);  // sets the digital pin 13 off
  delay(1000);            // waits for a second
  digitalWrite(5, HIGH); // sets the digital pin 13 on
  delay(1000);            // waits for a second
  digitalWrite(5, LOW);  // sets the digital pin 13 off
  delay(1000);            // waits for a second
  digitalWrite(7, HIGH); // sets the digital pin 13 on
  delay(8000);            // waits for a second
  digitalWrite(7, LOW);  // sets the digital pin 13 off
  delay(1000);            // waits for a second
}






## 黃柏樺
![](https://i.imgur.com/UD0lN32.png)
void setup() {
	pinMode(13, OUTPUT);    // sets the digital pin 13 as output
	pinMode(12, OUTPUT);    // sets the digital pin 13 as output
	pinMode(11, OUTPUT);    // sets the digital pin 13 as output
}
  
  
void loop() {
  digitalWrite(13, HIGH);
  delay(5000);
  digitalWrite(13, LOW);
  delay(1000);
  digitalWrite(11, HIGH);
  delay(1000);
  digitalWrite(11, LOW);
  delay(1000);
  digitalWrite(12, HIGH);
  delay(8000);
  digitalWrite(12, LOW);
  delay(1000);
}