Obstacle avoider
Fork of HCSR04 by
Revision 7:71da0dbf4400, committed 2013-03-30
- Comitter:
- prabhuvd
- Date:
- Sat Mar 30 18:55:03 2013 +0000
- Parent:
- 6:4be4fcd0c171
- Child:
- 8:32c4f52c0b98
- Commit message:
- name modified
Changed in this revision
| hcsr04.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/hcsr04.h Sat Mar 30 18:52:13 2013 +0000
+++ b/hcsr04.h Sat Mar 30 18:55:03 2013 +0000
@@ -26,7 +26,7 @@
#include "mbed.h"
-/** Distance Measure Class(es)
+/** HCSR04 Class(es)
*/
class HCSR04
@@ -43,11 +43,11 @@
*/
unsigned int get_dist_cm(void);
/** Return the pulse duration equal to sonic waves travelling to obstacle and back to receiver.
- * @param pulse duration in microseconds.
- */
+ * @param pulse duration in microseconds.
+ */
unsigned int get_pulse_us(void);
/** Generates the trigger pulse of 10us on the trigger PIN.
- */
+ */
void start(void );
void isr_rise(void);
void isr_fall(void);
