//Arduino street light program create by Swapnil Lawand 21 July 2022 void setup() { // put your setup code here, to run once: pinMode(2,INPUT); pinMode(3,INPUT); pinMode(4,INPUT); pinMode(5,INPUT); pinMode(12,OUTPUT); pinMode(11,OUTPUT); //LED } void loop() { // put your main code here, to run repeatedly: if(digitalRead(5)==LOW){ digitalWrite(12,HIGH); } if(digitalRead(2)==LOW) {digitalWrite(12,LOW);} if(digitalRead(3)==LOW){ digitalWrite(11,HIGH); } if(digitalRead(4)==LOW) {digitalWrite(11,LOW);} }
Fanstastic work 👏👌 thanks my friend👍👍👍👍
Thnx 😊
Well done ✅
Good job bro
👌👌👌👌
Components names sollunga
bro how can i get this code
//Arduino street light program create by Swapnil Lawand 21 July 2022
void setup() { // put your setup code here, to run once:
pinMode(2,INPUT);
pinMode(3,INPUT);
pinMode(4,INPUT);
pinMode(5,INPUT);
pinMode(12,OUTPUT);
pinMode(11,OUTPUT);
//LED
} void loop() { // put your main code here, to run repeatedly:
if(digitalRead(5)==LOW){ digitalWrite(12,HIGH); }
if(digitalRead(2)==LOW)
{digitalWrite(12,LOW);}
if(digitalRead(3)==LOW){ digitalWrite(11,HIGH); }
if(digitalRead(4)==LOW)
{digitalWrite(11,LOW);}
}
bhai code bhi dedeta
PЯӨMӨƧM
Can you give me the program for this bro
Yes I give you this code on my Instagram handle
This is my instagram handle link send me hello
instagram.com/swapnil_experiment?igshid=YmMyMTA2M2Y=
I got the code thank you bro it helped me a lot
Can u share the Code pls