AKSHIT'S INNOVATION LABOct 13, 20211 min readCODE AND CIRCUIT DIAGRAM FOR ANTI THEFT ALARAM//AKSHIT INNOVATION LABvoid setup(){ pinMode(2, INPUT); Serial.begin(9600); pinMode(13, OUTPUT);}void loop(){ Serial.println(digitalRead(2)); if (digitalRead(2) == 1) { digitalWrite(13, HIGH); } else { digitalWrite(13, LOW); } delay(8); }
//AKSHIT INNOVATION LABvoid setup(){ pinMode(2, INPUT); Serial.begin(9600); pinMode(13, OUTPUT);}void loop(){ Serial.println(digitalRead(2)); if (digitalRead(2) == 1) { digitalWrite(13, HIGH); } else { digitalWrite(13, LOW); } delay(8); }
Code and Diagram For Obstacle Avoiding RobotCode// //AKSHIT INNOVATION LAB //SUBSCRIBE NOW #include <Servo.h> //Servo motor library. This is standard library #include...
Comments