Hello, will this code work: int led = 13; int buzzer = 12; int sensor = 7; void setup(){ pinMode(led,OUTPUT); pinMode(buzzer,OUTPUT); pinMode(sensor,INPUT); } void loop(){ if (digitalRead(sensor)){ digitalWrite(led,HIGH); digitalWrite(buzzer,HIGH); } else{ digitalWrite(led,LOW); digitalWrite(buzzer,LOW); } }
Vos explications sont faciles à comprendre.
Merci, je m'abonne.
Thanks a lot friend. This is the greatest motivation for me to create further videos like this 😊
Very nice👍👍
Thank you ❤️
Great video ❤
Thank you. Clearly explained
Hello, will this code work:
int led = 13;
int buzzer = 12;
int sensor = 7;
void setup(){
pinMode(led,OUTPUT);
pinMode(buzzer,OUTPUT);
pinMode(sensor,INPUT);
}
void loop(){
if (digitalRead(sensor)){
digitalWrite(led,HIGH);
digitalWrite(buzzer,HIGH);
}
else{
digitalWrite(led,LOW);
digitalWrite(buzzer,LOW);
}
}
Super video
Thanks
Thank you so much. ❤❤
Supper
Thanks
Might be a stupid question but does a hand or a non-shiny object also gets detected?
Yes. It can
where do you download the programming something?
Love this
thank u
Thank youuu!!
Super
thanks you
up❤
Although it's too loud so we added a 220 ohm resistor
Great idea ❤️
Hello can we get the circuit diagram of the project??
It is clearly shown in video.
But use active buzzer
Bro code drive pdf nhi khul rha
use winrar to extract the code
It doesn't work
Just fixed 😂😂😂😂😂😂