Robot code for searching an object and charging at it.
Dependencies: HCSR04 Motor mbed
Diff: functions.h
- Revision:
- 27:96a0ff2f474c
- Parent:
- 26:5ee2a32949e6
- Child:
- 30:8a5570b2de68
--- a/functions.h Sun Jun 07 16:36:03 2015 +0000 +++ b/functions.h Sun Jun 07 17:30:06 2015 +0000 @@ -25,4 +25,4 @@ void move_forward(float speed = moveforwardspeed); void stop(); int detect_object(int range_t = range, float speed = moveforwardspeed); -void move_detect(float speed, int fwd_bck, int time); \ No newline at end of file +void move_detect(float speed, int fwd_bck, int time, int wait=0); \ No newline at end of file