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 ❤
If it's an infrared sensor, do you want to install 2 sensors and 2 vibration sensors? what about the files and code? Thank You🙏
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);
}
}
Thank you. Clearly explained
Super video
Thanks
Love this
thank u
Supper
Thanks
Thank you so much. ❤❤
Might be a stupid question but does a hand or a non-shiny object also gets detected?
Yes. It can
up❤
Thank youuu!!
where do you download the programming something?
Super
thanks you
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 😂😂😂😂😂😂