This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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, [email protected]/ | |
//inputs: | |
# define LIR 2 //left ir sensor | |
#define RIR 3 //right ir sensor | |
#define echoPin 4 //echo pin of ping ))) | |
//outputs: |