[Arduino Quiz 1]
- Shivan Patel

- Feb 28, 2019
- 1 min read
Updated: Mar 2, 2019
int red=10;
int yellow=11;
int green=12;
int button=13;
int red1=8;
int green1=9;
void setup()
{
pinMode(red, OUTPUT);
pinMode(yellow, OUTPUT);
pinMode(green, OUTPUT);
pinMode(red1, OUTPUT);
pinMode(green1, OUTPUT);
pinMode(button, INPUT);
digitalWrite(green, HIGH);
}
void loop()
{
changeLights();
delay(15000);
}
void changeLights()
{
digitalWrite(green,LOW);
digitalWrite(yellow,HIGH);
digitalWrite(red1,LOW);
digitalWrite(green1,LOW);
delay(3000);
digitalWrite(yellow,LOW);
digitalWrite(red,HIGH);
digitalWrite(green1,HIGH);
delay(5000);
digitalWrite(yellow,LOW);
digitalWrite(red,LOW);
digitalWrite(green,HIGH);
digitalWrite(red1, HIGH);
digitalWrite(green1,LOW);
delay(3000);
}
https://vimeo.com/320552031

![[Arduino Compass] Craig, Christian, Jodi, and Nile in Collaboration with ECE Students](https://static.wixstatic.com/media/a27d24_5c1e57d2651248e6be3663dbc78b0b7a~mv2.png/v1/fill/w_852,h_669,al_c,q_90,enc_avif,quality_auto/a27d24_5c1e57d2651248e6be3663dbc78b0b7a~mv2.png)
![[Arduino x Unity] Bun-Bun The Garden Defender](https://static.wixstatic.com/media/a27d24_1e9db47468324830ab0e2630095ac833~mv2.png/v1/fill/w_960,h_540,al_c,q_90,enc_avif,quality_auto/a27d24_1e9db47468324830ab0e2630095ac833~mv2.png)
can you fix the thumb image? either you can repost it