2 limit switches wiring using same pin Arduino
2021-07-01
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) ==Continue Reading