Tuesday, 13 July 2021

How to Make a VIP Light 🚨 at home| Easy DIY

 

How to Make a VIP Light 🚨 at home| Easy DIY



Hi Freinds in this vedio im going to talk about ow to Make a VIP Light 🚨 at home code for the project below


link to simulate the project |



Don't click this https://bit.ly/3nD9rFX


Code :- void setup() { pinMode(2, OUTPUT); pinMode(3, OUTPUT); } int red = 2; int blue = 3; int time = 100; int time2 = 50; int time3 = 300; void loop() { //Patern 1 digitalWrite(red, HIGH); delay(time); digitalWrite(red, LOW); digitalWrite(blue, HIGH); delay(time); digitalWrite(blue, LOW); digitalWrite(red, HIGH); delay(time); digitalWrite(red, LOW); digitalWrite(blue, HIGH); delay(time); digitalWrite(blue, LOW); digitalWrite(red, HIGH); delay(time); digitalWrite(red, LOW); digitalWrite(blue, HIGH); delay(time); digitalWrite(blue, LOW); digitalWrite(red, HIGH); delay(time); digitalWrite(red, LOW); digitalWrite(blue, HIGH); delay(time); digitalWrite(blue, LOW); digitalWrite(red, HIGH); delay(time); digitalWrite(red, LOW); digitalWrite(blue, HIGH); delay(time); digitalWrite(blue, LOW); digitalWrite(red, HIGH); delay(time); digitalWrite(red, LOW); digitalWrite(blue, HIGH); delay(time); digitalWrite(blue, LOW); delay(1000); //Patern 2 digitalWrite(red, HIGH); delay(time2); digitalWrite(red, LOW); digitalWrite(red, HIGH); delay(time2); digitalWrite(red, LOW); digitalWrite(blue, HIGH); delay(time2); digitalWrite(blue, LOW); digitalWrite(blue, HIGH); delay(time2); digitalWrite(blue, LOW); digitalWrite(red, HIGH); delay(time2); digitalWrite(red, LOW); digitalWrite(red, HIGH); delay(time2); digitalWrite(red, LOW); digitalWrite(blue, HIGH); delay(time2); digitalWrite(blue, LOW); digitalWrite(blue, HIGH); delay(time2); digitalWrite(blue, LOW); digitalWrite(red, HIGH); delay(time2); digitalWrite(red, LOW); digitalWrite(red, HIGH); delay(time2); digitalWrite(red, LOW); digitalWrite(blue, HIGH); delay(time2); digitalWrite(blue, LOW); digitalWrite(blue, HIGH); delay(time2); digitalWrite(blue, LOW); digitalWrite(red, HIGH); delay(time2); digitalWrite(red, LOW); digitalWrite(red, HIGH); delay(time2); digitalWrite(red, LOW); digitalWrite(blue, HIGH); delay(time2); digitalWrite(blue, LOW); digitalWrite(blue, HIGH); delay(time2); digitalWrite(blue, LOW); delay(150); //Patern 3 digitalWrite(red, HIGH); digitalWrite(blue, HIGH); delay(time3); digitalWrite(red, LOW); digitalWrite(blue, LOW); delay(time3); digitalWrite(red, HIGH); digitalWrite(blue, HIGH); delay(time3); digitalWrite(red, LOW); digitalWrite(blue, LOW); delay(time3); digitalWrite(red, HIGH); digitalWrite(blue, HIGH); delay(time3); digitalWrite(red, LOW); digitalWrite(blue, LOW); delay(time3); digitalWrite(red, HIGH); digitalWrite(blue, HIGH); delay(time3); digitalWrite(red, LOW); digitalWrite(blue, LOW); delay(time3); digitalWrite(red, HIGH); digitalWrite(blue, HIGH); delay(time3); digitalWrite(red, LOW); digitalWrite(blue, LOW); delay(time3); digitalWrite(red, HIGH); digitalWrite(blue, HIGH); delay(time3); digitalWrite(red, LOW); digitalWrite(blue, LOW); delay(time3); digitalWrite(red, HIGH); digitalWrite(blue, HIGH); delay(time3); digitalWrite(red, LOW); digitalWrite(blue, LOW); delay(time3); digitalWrite(red, HIGH); digitalWrite(blue, HIGH); delay(time3); digitalWrite(red, LOW); digitalWrite(blue, LOW); delay(time3); }

1 comment:

Sensors | Ultrasonic Sensors | āˇƒංāˇ€ේāļ¯āļš | ARDUINO|#Pamudahimsara | #ARDUINO | FULL HD 1080 | đŸ’¯

Sensors | Ultrasonic Sensors | āˇƒංāˇ€ේāļ¯āļš | ARDUINO|#Pamudahimsara | #ARDUINO | FULL HD 1080 | đŸ’¯   link to simulate the project | https://www.t...