Arduino projects for beginners |traffic light simulation |arduino basic projects |autodesk tinkercad

preview_player
Показать описание
Welcome to another video tutorial of Arduino projects for beginners.
Today in this video we’ll learn to simulate traffic light using Arduino.
You’ll learn to use Autodesk tinkercad software. This software is a great tool to tinker with Arduino without the physical access to hardware.
Code for this project: -

void setup()
{
pinMode(1,OUTPUT);
pinMode(2,OUTPUT);
pinMode(3,OUTPUT);


}

void loop()
{
digitalWrite(1,HIGH);
delay(3000);
digitalWrite(1,LOW);
digitalWrite(3,HIGH);
delay(300);
digitalWrite(3,LOW);
delay(300);
digitalWrite(3,HIGH);
delay(300);
digitalWrite(3,LOW);
digitalWrite(2,HIGH);
delay(1000);
digitalWrite(2,LOW);
delay(1000);

}

Thank you for watching!!
Please subscribe to my channel to get regular update.
#trafficLightSimulation
#arduinoBasicProject
#autodeskTinkercad
#project2
Рекомендации по теме