Robot code for searching an object and charging at it.
Dependencies: HCSR04 Motor mbed
Diff: functions.h
- Revision:
- 10:cec68ef272cd
- Parent:
- 7:d94d23c55015
- Parent:
- 9:7770a84228c0
- Child:
- 11:b45798cc3c10
--- a/functions.h Sat May 23 17:08:45 2015 +0000 +++ b/functions.h Sat May 23 17:48:01 2015 +0000 @@ -5,6 +5,7 @@ int detect_line(); void moverandom(); void reverse(float speed); +void turn(float speed); void reverseandturn(float speed); void charge(float speed); void stop();