Skip to content

Instantly share code, notes, and snippets.

View Misbah952's full-sized avatar
🎯
Focusing

Misbah Memon Misbah952

🎯
Focusing
View GitHub Profile
#include <Servo.h> //Servo motor library
#include <NewPing.h> //Ultrasonic sensor function library
const int LeftForward = 10;// L298N control pins
const int LeftBackward = 11;
const int RightForward = 12;
const int RightBackward = 13;
const int ENA = 3;
const int ENB = 5;
#define trig_pin A1 //sensor pins - analog input 1