---
# System prepended metadata

title: 高一六班 0415
tags: [作業]

---

---
title: 高一六班 0415
tags: 作業
---
> 作業繳交處

:::info
> [tinkercad](https://www.tinkercad.com/)

> [回到首頁](https://hackmd.io/@smsh-program/106_main)
:::

### 郭尚蓁😊😊😊

### LED control_1
```c++
int ledpin = '填入腳位';

void setup()
{

  pinMode(ledpin, OUTPUT);
}

void loop()
{
  digitalWrite(ledpin, HIGH);
}
```

### LED control_2
```c++
int ledpin = '填入腳位';

void setup()
{
  pinMode(ledpin, OUTPUT);
}

void loop()
{
  digitalWrite(ledpin, HIGH);
  delay(1000); 
  digitalWrite(ledpin, LOW);
  delay(1000);
}
```

### LED control_3
```c++
int Gpin = '填入腳位';
int Ypin = '填入腳位';
int Rpin = '填入腳位';

void setup()
{
  pinMode(Gpin , OUTPUT);
  pinMode(Ypin , OUTPUT);
  pinMode(Rpin , OUTPUT);
}

void loop()
{
  digitalWrite(Gpin , HIGH);
  digitalWrite(Ypin , HIGH);
  digitalWrite(Rpin , HIGH);
  delay(1000);
  digitalWrite(Gpin , LOW);
  digitalWrite(Ypin , LOW);
  digitalWrite(Rpin , LOW);
  delay(1000);
}
```
### LED control_4
```c++
int Gpin = '填入腳位';
int Ypin = '填入腳位';
int Rpin = '填入腳位';
int counter;

void setup()
{
  pinMode(Gpin , OUTPUT);
  pinMode(Ypin , OUTPUT);
  pinMode(Rpin , OUTPUT);
}

void loop()
{
  // 紅燈亮
  digitalWrite(Gpin , LOW);
  digitalWrite(Ypin , LOW);
  digitalWrite(Rpin , HIGH);
  delay(3000);
  
  // 黃燈閃
  digitalWrite(Gpin , LOW);
  digitalWrite(Ypin , HIGH);
  digitalWrite(Rpin , LOW);

  for (counter = 0; counter < 3; ++counter) {
    digitalWrite(Ypin, LOW);
    delay(500); 
    digitalWrite(Ypin, HIGH);
    delay(500); 
  }

  // 綠燈亮
  digitalWrite(Gpin , HIGH);
  digitalWrite(Ypin , LOW);
  digitalWrite(Rpin , LOW);
  delay(3000);
}
```
### LED control_5
```c++
int ledpin = '填入腳位' ;
int buttonpin = '填入腳位' ;

void setup()
{
  pinMode(buttonpin, INPUT);
  pinMode(ledpin, OUTPUT);
}

void loop()
{
  if (digitalRead(buttonpin) == 0) {
    digitalWrite(ledpin, HIGH);
  } else {
    digitalWrite(ledpin, LOW);
  }
}
```

---
### 王世聰😉😉😉
今天的課相比之前的課還要來的費力一點，可是卻比以前的課都還要有趣一點點，一想到下禮拜是最後一堂課就有點感傷😢😢感覺回到原本的生科課的時候，全班都會睡成一遍😂😂。

```
c++
int Gpin = 6;
int Ypin = 5;
int Rpin = 4;
int counter;

void setup()
{
  pinMode(Gpin , OUTPUT);
  pinMode(Ypin , OUTPUT);
  pinMode(Rpin , OUTPUT);
}

void loop()
{
  // 紅燈亮
  digitalWrite(Gpin , LOW);
  digitalWrite(Ypin , LOW);
  digitalWrite(Rpin , HIGH);
  delay(5000);
  
  // 黃燈閃
  digitalWrite(Gpin , LOW);
  digitalWrite(Ypin , HIGH);
  digitalWrite(Rpin , LOW);

  for (counter = 0; counter < 4; ++counter) {
    digitalWrite(Ypin, LOW);
    delay(500); 
    digitalWrite(Ypin, HIGH);
    delay(500); 
  }

  // 綠燈亮
  digitalWrite(Gpin , HIGH);
  digitalWrite(Ypin , LOW);
  digitalWrite(Rpin , LOW);
  delay(5000);
```
}
---
### 陳怡安🤔🤔🤔

```
int Gpin =4;
int Ypin = 5;
int Rpin = 6;
int counter;

void setup()
{
  pinMode(Gpin , OUTPUT);
  pinMode(Ypin , OUTPUT);
  pinMode(Rpin , OUTPUT);
}

void loop()
{
  // 紅燈亮
  digitalWrite(Gpin , LOW);
  digitalWrite(Ypin , LOW);
  digitalWrite(Rpin , HIGH);
  delay(4000);
  
  // 黃燈閃
  digitalWrite(Gpin , LOW);
  digitalWrite(Ypin , HIGH);
  digitalWrite(Rpin , LOW);

  for (counter = 0; counter < 4; ++counter) {
    digitalWrite(Ypin, LOW);
    delay(500); 
    digitalWrite(Ypin, HIGH);
    delay(3000); 
  }

  // 綠燈亮
  digitalWrite(Gpin , HIGH);
  digitalWrite(Ypin , LOW);
  digitalWrite(Rpin , LOW);
  delay(5000);
}
```
因為今天是實作課，所以精神很好，而且把之前學的東西都用上了，有學以致用的感覺

---
### 杜怡姿🈹🐱‍💻
今天實作課，嚇到把我的恐懼都震懾出來了😥
但又好像沒有很難，我愛老師😍但是我不愛ARDUINO😀
```c++
int Gpin =4 ;
int Ypin =5 ;
int Rpin =6 ;
int counter;

void setup()
{
  pinMode(Gpin , OUTPUT);
  pinMode(Ypin , OUTPUT);
  pinMode(Rpin , OUTPUT);
}

void loop()
{
  // 紅燈亮
  digitalWrite(Gpin , LOW);
  digitalWrite(Ypin , LOW);
  digitalWrite(Rpin , HIGH);
  delay(5000);
  
  // 黃燈閃
  digitalWrite(Gpin , LOW);
  digitalWrite(Ypin , HIGH);
  digitalWrite(Rpin , LOW);

  for (counter = 0; counter < 4; ++counter) {
    digitalWrite(Ypin, LOW);
    delay(500); 
    digitalWrite(Ypin, HIGH);
    delay(500); 
  }

  // 綠燈亮
  digitalWrite(Gpin , HIGH);
  digitalWrite(Ypin , LOW);
  digitalWrite(Rpin , LOW);
  delay(5000);
}
```
___
### 沈書妤🈹🤪
這堂課很好玩!我覺得很有成就感因為我很少接錯🤩程式碼也改的很好一次就成功好開心好好玩好喜歡💗
```c++
int Gpin = 4;
int Ypin = 5;
int Rpin = 6;
int counter;

void setup()
{
  pinMode(Gpin , OUTPUT);
  pinMode(Ypin , OUTPUT);
  pinMode(Rpin , OUTPUT);
}

void loop()
{
  // 紅燈亮
  digitalWrite(Gpin , LOW);
  digitalWrite(Ypin , LOW);
  digitalWrite(Rpin , HIGH);
  delay(5000);
  
  // 黃燈閃
  digitalWrite(Gpin , LOW);
  digitalWrite(Ypin , HIGH);
  digitalWrite(Rpin , LOW);

  for (counter = 0; counter < 4; ++counter) {
    digitalWrite(Ypin, LOW);
    delay(500); 
    digitalWrite(Ypin, HIGH);
    delay(500); 
  }

  // 綠燈亮
  digitalWrite(Gpin , HIGH);
  digitalWrite(Ypin , LOW);
  digitalWrite(Rpin , LOW);
  delay(5000);
}
```
---
### 陳姵臻🥀🤞
```c++
int Gpin = 6;
int Ypin = 5;
int Rpin = 4;
int counter;

void setup()
{
  pinMode(Gpin , OUTPUT);
  pinMode(Ypin , OUTPUT);
  pinMode(Rpin , OUTPUT);
}

void loop()
{
  // 紅燈亮
  digitalWrite(Gpin , LOW);
  digitalWrite(Ypin , LOW);
  digitalWrite(Rpin , HIGH);
  delay(5000);
  
  // 黃燈閃
  digitalWrite(Gpin , LOW);
  digitalWrite(Ypin , HIGH);
  digitalWrite(Rpin , LOW);

  for (counter = 0; counter < 4; ++counter) {
    digitalWrite(Ypin, LOW);
    delay(500); 
    digitalWrite(Ypin, HIGH);
    delay(500); 
  }

  // 綠燈亮
  digitalWrite(Gpin , HIGH);
  digitalWrite(Ypin , LOW);
  digitalWrite(Rpin , LOW);
  delay(5000);
}
```    
我覺得今天的課程比之前還要有趣許多，有手作的部分，還有自己改一點程式，燈亮了就很有成就感

___
### 陳彥綾🈹
今天的十座其實還蠻有趣的，就接線接得很有成就感，程式打上去燈都能亮!
```
int Gpin = 4;
int Ypin = 5;
int Rpin = 6;
int counter;

void setup()
{
pinMode(Gpin , OUTPUT);
pinMode(Ypin , OUTPUT);
pinMode(Rpin , OUTPUT);
}

void loop()
{
// 紅燈亮
digitalWrite(Gpin , LOW);
digitalWrite(Ypin , LOW);
digitalWrite(Rpin , HIGH);
delay(5000);

// 黃燈閃
digitalWrite(Gpin , LOW);
digitalWrite(Ypin , HIGH);
digitalWrite(Rpin , LOW);

for (counter = 0; counter < 4; ++counter) {
digitalWrite(Ypin, LOW);
delay(500);
digitalWrite(Ypin, HIGH);
delay(500);
}

// 綠燈亮
digitalWrite(Gpin , HIGH);
digitalWrite(Ypin , LOW);
digitalWrite(Rpin , LOW);
delay(5000);
}
```
---
### 葉可婷🈹🤳
```
int Gpin = 4;
int Ypin = 5;
int Rpin = 6;
int counter;

void setup()
{
  pinMode(Gpin , OUTPUT);
  pinMode(Ypin , OUTPUT);
  pinMode(Rpin , OUTPUT);
}

void loop()
{
  // 紅燈亮
  digitalWrite(Gpin , LOW);
  digitalWrite(Ypin , LOW);
  digitalWrite(Rpin , HIGH);
  delay(5000);
  
  // 黃燈閃
  digitalWrite(Gpin , LOW);
  digitalWrite(Ypin , HIGH);
  digitalWrite(Rpin , LOW);

  for (counter = 0; counter < 4; ++counter) {
    digitalWrite(Ypin, LOW);
    delay(500); 
    digitalWrite(Ypin, HIGH);
    delay(500); 
  }

  // 綠燈亮
  digitalWrite(Gpin , HIGH);
  digitalWrite(Ypin , LOW);
  digitalWrite(Rpin , LOW);
  delay(5000);
}
```
今天的課程很有趣!希望以後可以多一點實作🤩🤪🤑🥳
---
### 李柏亨🈹
```c++
int Gpin = 4;
int Ypin = 5;
int Rpin = 6;
int counter;

void setup()
{
  pinMode(Gpin , OUTPUT);
  pinMode(Ypin , OUTPUT);
  pinMode(Rpin , OUTPUT);
}

void loop()
{
  // 紅燈亮
  digitalWrite(Gpin , LOW);
  digitalWrite(Ypin , LOW);
  digitalWrite(Rpin , HIGH);
  delay(5000);
  
  // 黃燈閃
  digitalWrite(Gpin , LOW);
  digitalWrite(Ypin , HIGH);
  digitalWrite(Rpin , LOW);

  for (counter = 0; counter < 4; ++counter) {
    digitalWrite(Ypin, LOW);
    delay(500); 
    digitalWrite(Ypin, HIGH);
    delay(500); 
  }

  // 綠燈亮
  digitalWrite(Gpin , HIGH);
  digitalWrite(Ypin , LOW);
  digitalWrite(Rpin , LOW);
  delay(5000);
}
```
funny
---
### 凌偉珉🈹
```c++
int Gpin = 4;
int Ypin = 5;
int Rpin = 6;
int counter;

void setup()
{
  pinMode(Gpin , OUTPUT);
  pinMode(Ypin , OUTPUT);
  pinMode(Rpin , OUTPUT);
}

void loop()
{
  // 紅燈亮
  digitalWrite(Gpin , LOW);
  digitalWrite(Ypin , LOW);
  digitalWrite(Rpin , HIGH);
  delay(5000);
  
  // 黃燈閃
  digitalWrite(Gpin , LOW);
  digitalWrite(Ypin , HIGH);
  digitalWrite(Rpin , LOW);

  for (counter = 0; counter < 4; ++counter) {
    digitalWrite(Ypin, LOW);
    delay(500); 
    digitalWrite(Ypin, HIGH);
    delay(500); 
  }

  // 綠燈亮
  digitalWrite(Gpin , HIGH);
  digitalWrite(Ypin , LOW);
  digitalWrite(Rpin , LOW);
  delay(5000);
}
```
 Interesting
---
### 陳思源👻
```c++
int Gpin = 4;
int Ypin = 5;
int Rpin = 6;
int counter;

void setup()
{
  pinMode(Gpin , OUTPUT);
  pinMode(Ypin , OUTPUT);
  pinMode(Rpin , OUTPUT);
}

void loop()
{
  // 紅燈亮
  digitalWrite(Gpin , LOW);
  digitalWrite(Ypin , LOW);
  digitalWrite(Rpin , HIGH);
  delay(5000);
  
  // 黃燈閃
  digitalWrite(Gpin , LOW);
  digitalWrite(Ypin , HIGH);
  digitalWrite(Rpin , LOW);

  for (counter = 0; counter < 4; ++counter) {
    digitalWrite(Ypin, LOW);
    delay(500); 
    digitalWrite(Ypin, HIGH);
    delay(500); 
  }

  // 綠燈亮
  digitalWrite(Gpin , HIGH);
  digitalWrite(Ypin , LOW);
  digitalWrite(Rpin , LOW);
  delay(5000);
}
```
我覺得非常好玩因為可以實作，自己做的感覺比用電腦的感覺差很多，希望下禮拜可以更好玩，讚喔👍👻🤡👀👀

---
### 楊宸延

```c++
int Gpin = 4;
int Ypin = 5;
int Rpin = 6;
int counter;

void setup()
{
  pinMode(Gpin , OUTPUT);
  pinMode(Ypin , OUTPUT);
  pinMode(Rpin , OUTPUT);
}

void loop()
{
  // 紅燈亮
  digitalWrite(Gpin , LOW);
  digitalWrite(Ypin , LOW);
  digitalWrite(Rpin , HIGH);
  delay(5000);
  
  // 黃燈閃
  digitalWrite(Gpin , LOW);
  digitalWrite(Ypin , HIGH);
  digitalWrite(Rpin , LOW);

  for (counter = 0; counter < 3; ++counter) {
    digitalWrite(Ypin, LOW);
    delay(500); 
    digitalWrite(Ypin, HIGH);
    delay(500); 
  }

  // 綠燈亮
  digitalWrite(Gpin , HIGH);
  digitalWrite(Ypin , LOW);
  digitalWrite(Rpin , LOW);
  delay(5000);
}
```
相較之前的課程，實作相對好玩許多，超讚~~
---
### 江雅婷
```c++
int Gpin = 4;
int Ypin = 5;
int Rpin = 6;
int counter;

void setup()
{
  pinMode(Gpin , OUTPUT);
  pinMode(Ypin , OUTPUT);
  pinMode(Rpin , OUTPUT);
}

void loop()
{
  // 紅燈亮
  digitalWrite(Gpin , LOW);
  digitalWrite(Ypin , LOW);
  digitalWrite(Rpin , HIGH);
  delay(5000);
  
  // 黃燈閃
  digitalWrite(Gpin , LOW);
  digitalWrite(Ypin , HIGH);
  digitalWrite(Rpin , LOW);

  for (counter = 0; counter < 4; ++counter) {
    digitalWrite(Ypin, LOW);
    delay(500); 
    digitalWrite(Ypin, HIGH);
    delay(500); 
  }

  // 綠燈亮
  digitalWrite(Gpin , HIGH);
  digitalWrite(Ypin , LOW);
  digitalWrite(Rpin , LOW);
  delay(5000);
}
```
今天這堂實作課程，很有趣，而且做完很有成就感。

---
### 江秉翰
![](https://i.imgur.com/LcRQ3kD.png)
很難 我完全不懂
---
### 鍾旻蓁
```
int Gpin = 4;
int Ypin = 5;
int Rpin = 6;
int counter;

void setup()
{
  pinMode(Gpin , OUTPUT);
  pinMode(Ypin , OUTPUT);
  pinMode(Rpin , OUTPUT);
}

void loop()
{
  // 紅燈亮
  digitalWrite(Gpin , LOW);
  digitalWrite(Ypin , LOW);
  digitalWrite(Rpin , HIGH);
  delay(3000);
  
  // 黃燈閃
  digitalWrite(Gpin , LOW);
  digitalWrite(Ypin , HIGH);
  digitalWrite(Rpin , LOW);

  for (counter = 0; counter < 3; ++counter) {
    digitalWrite(Ypin, LOW);
    delay(500); 
    digitalWrite(Ypin, HIGH);
    delay(500); 
  }

  // 綠燈亮
  digitalWrite(Gpin , HIGH);
  digitalWrite(Ypin , LOW);
  digitalWrite(Rpin , LOW);
  delay(3000);
}
``` 
我覺得我對這堂課興致缺缺，有點無聊。
---
### 梁伊靚
```
int Gpin =4;
int Ypin = 5;
int Rpin = 6;
int counter;

void setup()
{
  pinMode(Gpin , OUTPUT);
  pinMode(Ypin , OUTPUT);
  pinMode(Rpin , OUTPUT);
}

void loop()
{
  // 紅燈亮
  digitalWrite(Gpin , LOW);
  digitalWrite(Ypin , LOW);
  digitalWrite(Rpin , HIGH);
  delay(5000);
  
  // 黃燈閃
  digitalWrite(Gpin , LOW);
  digitalWrite(Ypin , HIGH);
  digitalWrite(Rpin , LOW);

  for (counter = 0; counter < 3; ++counter) {
    digitalWrite(Ypin, LOW);
    delay(500); 
    digitalWrite(Ypin, HIGH);
    delay(500); 
  }
// 綠燈亮
  digitalWrite(Gpin , HIGH);
  digitalWrite(Ypin , LOW);
  digitalWrite(Rpin , LOW);
  delay(5000);
}

實作課比前幾次的都要有趣,很好玩

`````
---
### 鄭郁玄
```
int Gpin = 4;
int Ypin = 5;
int Rpin = 6;
int counter;

void setup()
{
  pinMode(Gpin , OUTPUT);
  pinMode(Ypin , OUTPUT);
  pinMode(Rpin , OUTPUT);
}

void loop()
{
  // 紅燈亮
  digitalWrite(Gpin , LOW);
  digitalWrite(Ypin , LOW);
  digitalWrite(Rpin , HIGH);
  delay(5000);
  
  // 黃燈閃
  digitalWrite(Gpin , LOW);
  digitalWrite(Ypin , HIGH);
  digitalWrite(Rpin , LOW);

  for (counter = 0; counter < 4; ++counter) {
    digitalWrite(Ypin, LOW);
    delay(500); 
    digitalWrite(Ypin, HIGH);
    delay(500); 
  }

  // 綠燈亮
  digitalWrite(Gpin , HIGH);
  digitalWrite(Ypin , LOW);
  digitalWrite(Rpin , LOW);
  delay(5000);
}
```
我覺得這次接線較為困難，但還是要努力學會

---
### 張家綺
```
int Gpin = 4;
int Ypin = 5;
int Rpin = 6;
int counter;

void setup()
{
  pinMode(Gpin , OUTPUT);
  pinMode(Ypin , OUTPUT);
  pinMode(Rpin , OUTPUT);
}

void loop()
{
  // 紅燈亮
  digitalWrite(Gpin , LOW);
  digitalWrite(Ypin , LOW);
  digitalWrite(Rpin , HIGH);
  delay(5000);
  
  // 黃燈閃
  digitalWrite(Gpin , LOW);
  digitalWrite(Ypin , HIGH);
  digitalWrite(Rpin , LOW);

  for (counter = 0; counter < 4; ++counter) {
    digitalWrite(Ypin, LOW);
    delay(500); 
    digitalWrite(Ypin, HIGH);
    delay(500); 
  }

  // 綠燈亮
  digitalWrite(Gpin , HIGH);
  digitalWrite(Ypin , LOW);
  digitalWrite(Rpin , LOW);
  delay(5000);
}
`````````
今天的課程比之前有趣，覺得很新奇
---
### 黃陽宇
int Gpin = 4;
int Ypin = 5;
int Rpin = 6;
int counter;

void setup()
{
  pinMode(Gpin , OUTPUT);
  pinMode(Ypin , OUTPUT);
  pinMode(Rpin , OUTPUT);
}

void loop()
{
  // 紅燈亮
  digitalWrite(Gpin , LOW);
  digitalWrite(Ypin , LOW);
  digitalWrite(Rpin , HIGH);
  delay(5000);
  
  // 黃燈閃
  digitalWrite(Gpin , LOW);
  digitalWrite(Ypin , HIGH);
  digitalWrite(Rpin , LOW);

  for (counter = 0; counter < 4; ++counter) {
    digitalWrite(Ypin, LOW);
    delay(500); 
    digitalWrite(Ypin, HIGH);
    delay(500); 
  }

  // 綠燈亮
  digitalWrite(Gpin , HIGH);
  digitalWrite(Ypin , LOW);
  digitalWrite(Rpin , LOW);
  delay(5000);
}
有點無聊 好想睡
---
### 曾子明
```
int Gpin = 4;
int Ypin = 5;
int Rpin = 6;
int counter;

void setup()
{
  pinMode(Gpin , OUTPUT);
  pinMode(Ypin , OUTPUT);
  pinMode(Rpin , OUTPUT);
}

void loop()
{
  // 紅燈亮
  digitalWrite(Gpin , LOW);
  digitalWrite(Ypin , LOW);
  digitalWrite(Rpin , HIGH);
  delay(5000);
  
  // 黃燈閃
  digitalWrite(Gpin , LOW);
  digitalWrite(Ypin , HIGH);
  digitalWrite(Rpin , LOW);

  for (counter = 0; counter < 3; ++counter) {
    digitalWrite(Ypin, LOW);
    delay(400); 
    digitalWrite(Ypin, HIGH);
    delay(400); 
  }

  // 綠燈亮
  digitalWrite(Gpin , HIGH);
  digitalWrite(Ypin , LOW);
  digitalWrite(Rpin , LOW);
  delay(5000);
}
  ```
---
### 蔡宇翔
```
int Gpin = 4;
int Ypin = 5;
int Rpin = 6;
int counter;

void setup()
{
  pinMode(Gpin , OUTPUT);
  pinMode(Ypin , OUTPUT);
  pinMode(Rpin , OUTPUT);
}

void loop()
{
  // 紅燈亮
  digitalWrite(Gpin , LOW);
  digitalWrite(Ypin , LOW);
  digitalWrite(Rpin , HIGH);
  delay(5000);
  
  // 黃燈閃
  digitalWrite(Gpin , LOW);
  digitalWrite(Ypin , HIGH);
  digitalWrite(Rpin , LOW);

  for (counter = 0; counter < 3; ++counter) {
    digitalWrite(Ypin, LOW);
    delay(500); 
    digitalWrite(Ypin, HIGH);
    delay(500); 
  }

  // 綠燈亮
  digitalWrite(Gpin , HIGH);
  digitalWrite(Ypin , LOW);
  digitalWrite(Rpin , LOW);
  delay(5000);
}
```
這次學到了很多，而且我覺得比前幾次好玩

---
### 郭慧馨
我覺得今天很好玩，真的自己親身去實作的時候，反而覺得很有趣，接線的感覺很療癒，不然模擬出來的反而有種空虛感。😥
```
int Gpin = 4;
int Ypin = 5;
int Rpin =6;
int counter;

void setup()
{
  pinMode(Gpin , OUTPUT);
  pinMode(Ypin , OUTPUT);
  pinMode(Rpin , OUTPUT);
}

void loop()
{
  // 紅燈亮
  digitalWrite(Gpin , LOW);
  digitalWrite(Ypin , LOW);
  digitalWrite(Rpin , HIGH);
  delay(4000);
  
  // 黃燈閃
  digitalWrite(Gpin , LOW);
  digitalWrite(Ypin , HIGH);
  digitalWrite(Rpin , LOW);

  for (counter = 0; counter < 4; ++counter) {
    digitalWrite(Ypin, LOW);
    delay(3000); 
    digitalWrite(Ypin, HIGH);
    delay(3000); 
  }
  // 綠燈亮
  digitalWrite(Gpin , HIGH);
  digitalWrite(Ypin , LOW);
  digitalWrite(Rpin , LOW);
  delay(5000);
}
```
---
### 胡芷嫣
今天的課程還蠻充實的，學到了實際操作的方法，和在電腦上模擬的感覺有些差異，看到燈泡亮起來真的很開心。
```
int Gpin = 4;
int Ypin = 5;
int Rpin = 6;
int counter;

void setup()
{
  pinMode(Gpin , OUTPUT);
  pinMode(Ypin , OUTPUT);
  pinMode(Rpin , OUTPUT);
}

void loop()
{
  // 紅燈亮
  digitalWrite(Gpin , LOW);
  digitalWrite(Ypin , LOW);
  digitalWrite(Rpin , HIGH);
  delay(5000);
  
  // 黃燈閃
  digitalWrite(Gpin , LOW);
  digitalWrite(Ypin , HIGH);
  digitalWrite(Rpin , LOW);

  for (counter = 0; counter < 3; ++counter) {
    digitalWrite(Ypin, LOW);
    delay(500); 
    digitalWrite(Ypin, HIGH);
    delay(500); 
  }

  // 綠燈亮
  digitalWrite(Gpin , HIGH);
  digitalWrite(Ypin , LOW);
  digitalWrite(Rpin , LOW);
  delay(5000);
}
```
---

### 游鈞涵
今天的課程依然有趣，而且還實際操作了。
```
int Gpin = 4;
int Ypin = 5;
int Rpin = 6;
int counter;

void setup()
{
  pinMode(Gpin , OUTPUT);
  pinMode(Ypin , OUTPUT);
  pinMode(Rpin , OUTPUT);
}

void loop()
{
  // 紅燈亮
  digitalWrite(Gpin , LOW);
  digitalWrite(Ypin , LOW);
  digitalWrite(Rpin , HIGH);
  delay(5000);
  
  // 黃燈閃
  digitalWrite(Gpin , LOW);
  digitalWrite(Ypin , HIGH);
  digitalWrite(Rpin , LOW);

  for (counter = 0; counter < 3; ++counter) {
    digitalWrite(Ypin, LOW);
    delay(500); 
    digitalWrite(Ypin, HIGH);
    delay(500); 
  }

  // 綠燈亮
  digitalWrite(Gpin , HIGH);
  digitalWrite(Ypin , LOW);
  digitalWrite(Rpin , LOW);
  delay(5000);
}
```
---
### 徐鈺程
今天的課程很有趣，覺得自己動手做很好玩。

```
int Gpin = 4;
int Ypin = 5;
int Rpin = 6;
int counter;

void setup()
{
  pinMode(Gpin , OUTPUT);
  pinMode(Ypin , OUTPUT);
  pinMode(Rpin , OUTPUT);
}

void loop()
{
  // 紅燈亮
  digitalWrite(Gpin , LOW);
  digitalWrite(Ypin , LOW);
  digitalWrite(Rpin , HIGH);
  delay(5000);
  
  // 黃燈閃
  digitalWrite(Gpin , LOW);
  digitalWrite(Ypin , HIGH);
  digitalWrite(Rpin , LOW);

  for (counter = 0; counter < 3; ++counter) {
    digitalWrite(Ypin, LOW);
    delay(500); 
    digitalWrite(Ypin, HIGH);
    delay(500); 
  }

  // 綠燈亮
  digitalWrite(Gpin , HIGH);
  digitalWrite(Ypin , LOW);
  digitalWrite(Rpin , LOW);
  delay(5000);
}
---


```
### 黃郁潔
第一次自己接線做，終於不是用模擬器了!
```
int Gpin = 4;
int Ypin = 5;
int Rpin = 6;
int counter;

void setup()
{
  pinMode(Gpin , OUTPUT);
  pinMode(Ypin , OUTPUT);
  pinMode(Rpin , OUTPUT);
}

void loop()
{
  // 紅燈亮
  digitalWrite(Gpin , LOW);
  digitalWrite(Ypin , LOW);
  digitalWrite(Rpin , HIGH);
  delay(5000);
  
  // 黃燈閃
  digitalWrite(Gpin , LOW);
  digitalWrite(Ypin , HIGH);
  digitalWrite(Rpin , LOW);

  for (counter = 0; counter < 3; ++counter) {
    digitalWrite(Ypin, LOW);
    delay(500); 
    digitalWrite(Ypin, HIGH);
    delay(500); 
  }

  // 綠燈亮
  digitalWrite(Gpin , HIGH);
  digitalWrite(Ypin , LOW);
  digitalWrite(Rpin , LOW);
  delay(5000);
}
```
```
  
---
### 賴彥廷
int Gpin = 5;
int Ypin = 6;
int Rpin = 4;
int counter;

void setup()
{
  pinMode(Gpin , OUTPUT);
  pinMode(Ypin , OUTPUT);
  pinMode(Rpin , OUTPUT);
}

void loop()
{
  // 紅燈亮
  digitalWrite(Gpin , LOW);
  digitalWrite(Ypin , LOW);
  digitalWrite(Rpin , HIGH);
  delay(3000);
  
  // 黃燈閃
  digitalWrite(Gpin , LOW);
  digitalWrite(Ypin , HIGH);
  digitalWrite(Rpin , LOW);

  for (counter = 0; counter < 3; ++counter) {
    digitalWrite(Ypin, LOW);
    delay(500); 
    digitalWrite(Ypin, HIGH);
    delay(500); 
  }

  // 綠燈亮
  digitalWrite(Gpin , HIGH);
  digitalWrite(Ypin , LOW);
  digitalWrite(Rpin , LOW);
  delay(3000);
}今天有比較特別的實際實作課程比之前的課更有趣
---
### 黃子恩
nt Gpin = 4;
int Ypin = 5;
int Rpin = 6;
int counter;

void setup()
{
  pinMode(Gpin , OUTPUT);
  pinMode(Ypin , OUTPUT);
  pinMode(Rpin , OUTPUT);
}

void loop()
{
  // 紅燈亮
  digitalWrite(Gpin , LOW);
  digitalWrite(Ypin , LOW);
  digitalWrite(Rpin , HIGH);
  delay(5000);
  
  // 黃燈閃
  digitalWrite(Gpin , LOW);
  digitalWrite(Ypin , HIGH);
  digitalWrite(Rpin , LOW);

  for (counter = 0; counter < 4; ++counter) {
    digitalWrite(Ypin, LOW);
    delay(500); 
    digitalWrite(Ypin, HIGH);
    delay(500); 
  }

  // 綠燈亮
  digitalWrite(Gpin , HIGH);
  digitalWrite(Ypin , LOW);
  digitalWrite(Rpin , LOW);
  delay(5000);
}
今天的課跟以前的很不同 有了實際操作 還不錯
---
### 鄭庭凱  
int Gpin = 4;
int Ypin = 5;
int Rpin = 6;
int counter;

void setup()
{
  pinMode(Gpin , OUTPUT);
  pinMode(Ypin , OUTPUT);
  pinMode(Rpin , OUTPUT);
}

> > void loop()
{
  // 紅燈亮
  digitalWrite(Gpin , LOW);
  digitalWrite(Ypin , LOW);
  digitalWrite(Rpin , HIGH);
  delay(5000);
  
  // 黃燈閃
  digitalWrite(Gpin , LOW);
  digitalWrite(Ypin , HIGH);
  digitalWrite(Rpin , LOW);

  for (counter = 0; counter < 4; ++counter) {
    digitalWrite(Ypin, LOW);
    delay(500); 
    digitalWrite(Ypin, HIGH);
    delay(500); 
  }

  // 綠燈亮
  digitalWrite(Gpin , HIGH);
  digitalWrite(Ypin , LOW);
  digitalWrite(Rpin , LOW);
  delay(5000);
}
今天的課我自己很混亂，都不太搞得清楚狀況
---   


```
### 洪庭鈞
```
int Gpin = 4;
int Ypin = 5;
int Rpin = 6;
int counter;

void setup()
{
  pinMode(Gpin , OUTPUT);
  pinMode(Ypin , OUTPUT);
  pinMode(Rpin , OUTPUT);
}

void loop()
{
  // 紅燈亮
  digitalWrite(Gpin , LOW);
  digitalWrite(Ypin , LOW);
  digitalWrite(Rpin , HIGH);
  delay(5000);
  
  // 黃燈閃
  digitalWrite(Gpin , LOW);
  digitalWrite(Ypin , HIGH);
  digitalWrite(Rpin , LOW);

  for (counter = 0; counter < 4; ++counter) {
    digitalWrite(Ypin, LOW);
    delay(500); 
    digitalWrite(Ypin, HIGH);
    delay(500); 
  }

  // 綠燈亮
  digitalWrite(Gpin , HIGH);
  digitalWrite(Ypin , LOW);
  digitalWrite(Rpin , LOW);
  delay(5000);
}
```
今天很開心，因為學到很多東西，還有動手做模板，實在很好玩，收穫多多。
```



---
### 曹心惠
![](https://i.imgur.com/zAy93rq.png)
今天都跟得上 雖然不理解原理是甚麼 可是跟著手接電路很好玩
---
### 林茂源
int Gpin = 4;
int Ypin = 5;
int Rpin = 6;
int counter;

void setup()
{ˇ
  pinMode(Gpin , OUTPUT);
  pinMode(Ypin , OUTPUT);
  pinMode(Rpin , OUTPUT);
}

void loop()
{
  // 紅燈亮
  digitalWrite(Gpin , LOW);
  digitalWrite(Ypin , LOW);
  digitalWrite(Rpin , HIGH);
  delay(5000);
  
  // 黃燈閃
  digitalWrite(Gpin , LOW);
  digitalWrite(Ypin , HIGH);
  digitalWrite(Rpin , LOW);

  for (counter = 0; counter < 4; ++counter) {
    digitalWrite(Ypin, LOW);
    delay(500); 
    digitalWrite(Ypin, HIGH);
    delay(500); 
  }

  // 綠燈亮
  digitalWrite(Gpin , HIGH);
  digitalWrite(Ypin , LOW);
  digitalWrite(Rpin , LOW);
  delay(5000);
}
今天的課挺難的
___
### 魏廷宇
int Gpin = 4;
int Ypin = 5;
int Rpin = 6;
int counter;

void setup()
{
  pinMode(Gpin , OUTPUT);
  pinMode(Ypin , OUTPUT);
  pinMode(Rpin , OUTPUT);
}

void loop()
{
  // 紅燈亮
  digitalWrite(Gpin , LOW);
  digitalWrite(Ypin , LOW);
  digitalWrite(Rpin , HIGH);
  delay(5000);
  
  // 黃燈閃
  digitalWrite(Gpin , LOW);
  digitalWrite(Ypin , HIGH);
  digitalWrite(Rpin , LOW);

  for (counter = 0; counter < 4; ++counter) {
    digitalWrite(Ypin, LOW);
    delay(500); 
    digitalWrite(Ypin, HIGH);
    delay(500); 
  }

  // 綠燈亮
  digitalWrite(Gpin , HIGH);
  digitalWrite(Ypin , LOW);
  digitalWrite(Rpin , LOW);
  delay(5000);
}
今天同樣認識到了很多程式，與以往不同是今天實作了電路模型，我覺得實作比在電腦上模擬還要好，因為有個實體的東西可以學習，學習也比較快，而且也認識到了很多相關物品及名稱，雖然程式不是自己寫的，但同樣可以學習到很多東西，期待下一次能夠再次實作電路。
___
### 方惠姿
int Gpin = 4;
int Ypin = 5;
int Rpin = 6;
int counter;

void setup()
{
  pinMode(Gpin , OUTPUT);
  pinMode(Ypin , OUTPUT);
  pinMode(Rpin , OUTPUT);
}

void loop()
{
  // 紅燈亮
  digitalWrite(Gpin , LOW);
  digitalWrite(Ypin , LOW);
  digitalWrite(Rpin , HIGH);
  delay(5000);
  
  // 黃燈閃
  digitalWrite(Gpin , LOW);
  digitalWrite(Ypin , HIGH);
  digitalWrite(Rpin , LOW);

  for (counter = 0; counter < 4; ++counter) {
    digitalWrite(Ypin, LOW);
    delay(500); 
    digitalWrite(Ypin, HIGH);
    delay(500); 
  }

  // 綠燈亮
  digitalWrite(Gpin , HIGH);
  digitalWrite(Ypin , LOW);
  digitalWrite(Rpin , LOW);
  delay(5000);
}
今天的實作課程相對於以往的線上模擬操作，更具有真實性，且體驗感受更清晰，也能更快速學習程式的具體做，對於實作課程非常的開心，很喜歡。❤❤
___




































