2 limit switches wiring using same pin Arduino
void setup() {
Serial.begin(9600);
// put your setup code here, to run once:
pinMode( 7 , INPUT );
pinMode( 13, OUTPUT); // LED FOR TEST
digitalWrite(13,LOW);
}
void loop() {
// put your main code here, to run repeatedly:
if( digitalRead(7) == LOW ){
digitalWrite(13,HIGH);
}else{
digitalWrite(13,LOW);
}
} ::::::::::: SUPPORT CHANNEL ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Please Donate To Help Me Afford New Equipment And Software To Make My Videos More : https://goo.gl/1m8Dg2
Don’t forget to subscribe!
, https://i.ytimg.com/vi/zBE6aY0NPSQ/hqdefault.jpg
source
Thanks for the video! It was useful for me in order to construct my "Bimbo V.1" device: https://youtu.be/vgfCYsiZAkE By the way, what do you think it is actually good for?
STUPID BLOODY MUSIC NO POINT AS IT TELLS US NOTHING VERY UNCLEAR
Hello Friend.
I am in the project of updating a laser cutting machine. Could you help me with the wiring for the X and Z limit switches? I have a map of the card. Is it possible to send it to your email to help me? It would be something that I would really appreciate!
How do you get the LED to stay on after you've released the switch?
what different with push button…?
Ribet banget kyak'a…
How read limit switch induvially
I need the daigram for this please
Very bad presentation Al least you should you two colors wires.
Nice one
The layout in the video was very hard to see. A schematic would be very helpful.
3 pin switch why 02 pin setting. Please help me.
From iraq
Thanks very much