Robot code for searching an object and charging at it.
Dependencies: HCSR04 Motor mbed
Diff: main.cpp
- Revision:
- 3:7f7a82bf59b9
- Parent:
- 2:6f15a798993d
- Child:
- 4:0507835a3dce
--- a/main.cpp Sat May 23 14:31:30 2015 +0000 +++ b/main.cpp Sat May 23 14:33:29 2015 +0000 @@ -25,6 +25,8 @@ // 0 - if no line is detected // 1 - if line detected from the front // -1 - if line detected from the back +// reverse() - reverses the robot with chargespeed in same position +// reverseandturn()- reverses whie moving in a circular direction // Libraries for using the above functions and more ... #include "mbed.h"