Premium Only Content
Arduino traffic light system and LED blinking
Blinking Led:int ledb = 13;
int ledr = 12;
int ledg = 11;
void setup(){
pinMode(ledb, OUTPUT);
pinMode(ledr, OUTPUT);
pinMode(ledg, OUTPUT);
}
void loop(){
digitalWrite(ledb, HIGH);
digitalWrite(ledr, HIGH);
digitalWrite(ledg, HIGH);
delay(500);
digitalWrite(ledb, LOW);
digitalWrite(ledr, LOW);
digitalWrite(ledg, LOW);
delay(500);
}int ledb = 13;
int ledr = 12;
int ledg = 11;
void setup(){
pinMode(ledb, OUTPUT);
pinMode(ledr, OUTPUT);
pinMode(ledg, OUTPUT);
}
void loop(){
digitalWrite(ledb, HIGH);
digitalWrite(ledr, HIGH);
digitalWrite(ledg, HIGH);
delay(500);
digitalWrite(ledb, LOW);
digitalWrite(ledr, LOW);
digitalWrite(ledg, LOW);
delay(500);
}
Traffic Light:int ledg = 11;
int ledb = 13;
int ledr = 12;
void setup(){
pinMode(ledg, OUTPUT);
pinMode(ledb, OUTPUT);
pinMode(ledr, OUTPUT);
}
void loop(){
digitalWrite(ledg, HIGH);
delay(3000);
digitalWrite(ledg, LOW);
digitalWrite(ledb, HIGH);
delay(1000);
digitalWrite(ledb, LOW);
digitalWrite(ledr, HIGH);
delay(5000);
digitalWrite(ledr, LOW);
}
Edited by Wondershare Filmora
-
1:08
AfricanNewsAgency
3 years agoMinisters Confirm New Traffic Light System for International Travel
21 -
3:42
Thinkingoutsidethebox
4 years ago $0.05 earnedBlinking Light??
1541 -
0:13
Ahussain26
3 years ago $0.70 earnedTraffic light
1.41K -
1:47
KGUN
3 years agoNew traffic system using AI
18 -
5:55
SteveMassikker
3 years ago $0.03 earned4. Introduction to URB system. Centralized traffic control system
10.9K -
0:31
rogergrendell65
3 years agoNice hike. Traffic was light!
27 -
1:02:24
PMG
21 hours ago $0.06 earned"Hannah Faulkner and Jamie Villamor | DEFEND, INSPIRE, INFLUENCE"
2.54K -
44:27
BIG NEM
12 hours agoWOULD YOU RATHER? Live Stream
1.94K -
4:23:49
FreshandFit
14 hours agoIsrael v Palestine Debate! Respect A Man If He Says No Or Yes To A Girl's Trip?
187K197 -
2:05:33
TheSaltyCracker
16 hours agoTech Bros try to Hijack MAGA ReeEEeE Stream 12-27-24
322K551