Robot code for searching an object and charging at it.
Dependencies: HCSR04 Motor mbed
Diff: functions.h
- Revision:
- 7:d94d23c55015
- Parent:
- 4:0507835a3dce
- Child:
- 10:cec68ef272cd
--- a/functions.h Sat May 23 16:09:43 2015 +0000 +++ b/functions.h Sat May 23 17:03:48 2015 +0000 @@ -3,6 +3,7 @@ int read_line1(); int read_line2(); int detect_line(); +void moverandom(); void reverse(float speed); void reverseandturn(float speed); void charge(float speed);