March 2019
Intermediate to advanced
312 pages
7h 37m
English
To stop the robot from moving, you can provide a HIGH signal or a LOW signal to the pins. In the code to make the robot move backward, add the following command to stop the motors for three seconds:
digitalWrite(0,HIGH); //PIN O & 2 will STOP the Left MotordigitalWrite(2,HIGH);digitalWrite(3,HIGH); //PIN 3 & 4 will STOP the Right MotordigitalWrite(4,HIGH);delay(3000);