Robot code for searching an object and charging at it.

Dependencies:   HCSR04 Motor mbed

Revision:
9:7770a84228c0
Parent:
4:0507835a3dce
Child:
10:cec68ef272cd
--- a/functions.h	Sat May 23 16:09:43 2015 +0000
+++ b/functions.h	Sat May 23 17:09:28 2015 +0000
@@ -4,6 +4,7 @@
 int read_line2();
 int detect_line();
 void reverse(float speed);
+void turn(float speed);
 void reverseandturn(float speed);
 void charge(float speed);
 void stop();