Robot code for searching an object and charging at it.

Dependencies:   HCSR04 Motor mbed

Files at this revision

API Documentation at this revision

Comitter:
abdsha01
Date:
Sat May 23 14:33:29 2015 +0000
Parent:
2:6f15a798993d
Child:
4:0507835a3dce
Commit message:
Updated comments

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- 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"