
Robot code for searching an object and charging at it.
Dependencies: HCSR04 Motor mbed
Diff: functions.h
- Revision:
- 4:0507835a3dce
- Child:
- 7:d94d23c55015
- Child:
- 9:7770a84228c0
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/functions.h Sat May 23 15:05:18 2015 +0000 @@ -0,0 +1,10 @@ +// Header file for functions.cpp + +int read_line1(); +int read_line2(); +int detect_line(); +void reverse(float speed); +void reverseandturn(float speed); +void charge(float speed); +void stop(); +int detect_object(int range, float speed); \ No newline at end of file