25. HOW DOES IT WORK?
When your torch light activates the right sensor , it in turn
activates or increases the speed of left motor . If the speed of left
motor is more , it moves towards your right direction.
When your torch light activates the left sensor , it in turn
activates or increases the speed of right motor . If the speed of right
motor is more , it moves towards your left direction.
You can even try it yourself , stand up and only use your left leg
to turn . You will turn right. If you use your left leg to turn . You will
turn right.
When both the sensors detect light , the robot moves forward.