Skip to content

Instantly share code, notes, and snippets.

View keshri-prasanjeet's full-sized avatar

Prasanjeet Keshri keshri-prasanjeet

  • India
View GitHub Profile
Please tell me , is my code correct?
/IR + Ultrasonic Line follower robot (black line on white surface)
This robot also has ultrasonic range sensor that enables it to stop when any obstacle is on the black line.
keshri-prasanjeet, keshriprasanjeet2@outlook.com/
//inputs:
‪#‎ define ‬LIR 2 //left ir sensor
#define RIR 3 //right ir sensor
#define echoPin 4 //echo pin of ping )))
//outputs: