
Robot code for searching an object and charging at it.
Dependencies: HCSR04 Motor mbed
Diff: functions.h
- Revision:
- 23:07b3c12800a6
- Parent:
- 22:e808fb71847d
- Child:
- 24:513c88816ed8
--- a/functions.h Sun Jun 07 14:59:23 2015 +0000 +++ b/functions.h Sun Jun 07 15:05:00 2015 +0000 @@ -16,7 +16,7 @@ int read_line1(); int read_line2(); int detect_line(); -void moverandom(); +void move_random(float speed=move_forwardspeed); void reverse(float speed); void turn(float speed); void reverseandturn(float speed);