Step 9: Custom Movement
When the Mode LED is off the robot is on its default state.
After pressing the Mode button the Mode LED turns on, now you can hold the robot in different states and change the state of the motors depend on their default state by Left and Right buttons.
After pressing the Mode button again the Mode LED starts blinking, now you can hold the robot in different states and change the state of the motors depend on values of the sensors by the Left and Right buttons.
To switch to default state, press Mode button again.
There are four states for the motors:
- Default state
- Forward (Green LED is on)
- Backward (Red LED is on)
- Stop (Both Green and Red LEDs are on)
Remove these ads by
Signing Up
























Not Nice











![Robot car tracking line [ easy way ]](http://www.instructables.com/files/deriv/F37/7PCL/GGPET5NH/F377PCLGGPET5NH.SQUARE.jpg)



Visit Our Store »
Go Pro Today »



