This Grove - Ultrasonic sensor is a non-contact distance measurement module which works at 42KHz, suitable for projects that require middle distance measurement.

Dependencies:   RangeFinder mbed

Fork of SeeedUltrasoundRangeFinder by Nick Ryder

Files at this revision

API Documentation at this revision

Comitter:
mbedAustin
Date:
Sat Aug 29 04:27:42 2015 +0000
Parent:
0:186bb2174995
Commit message:
Updated example code and underlying libraries to work properly

Changed in this revision

Pulse.lib Show diff for this revision Revisions of this file
RangeFinder.lib Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed.bld Show annotated file Show diff for this revision Revisions of this file
diff -r 186bb2174995 -r 285d47b768ac Pulse.lib
--- a/Pulse.lib	Wed Jul 04 15:56:38 2012 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-http://mbed.org/users/NickRyder/code/Pulse/#fb79a4637a64
diff -r 186bb2174995 -r 285d47b768ac RangeFinder.lib
--- a/RangeFinder.lib	Wed Jul 04 15:56:38 2012 +0000
+++ b/RangeFinder.lib	Sat Aug 29 04:27:42 2015 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/NickRyder/code/RangeFinder/#05c9036328ee
+http://mbed.org/users/NickRyder/code/RangeFinder/#cf496fb70317
diff -r 186bb2174995 -r 285d47b768ac main.cpp
--- a/main.cpp	Wed Jul 04 15:56:38 2012 +0000
+++ b/main.cpp	Sat Aug 29 04:27:42 2015 +0000
@@ -24,7 +24,7 @@
 #include "RangeFinder.h"
 
 // Seeed ultrasound range finder
-RangeFinder rf(p21, 10, 5800.0, 100000);
+RangeFinder rf(D0, 10, 5800.0, 100000);
 DigitalOut led(LED1);
 
 int main()  {
diff -r 186bb2174995 -r 285d47b768ac mbed.bld
--- a/mbed.bld	Wed Jul 04 15:56:38 2012 +0000
+++ b/mbed.bld	Sat Aug 29 04:27:42 2015 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/mbed_official/code/mbed/builds/737756e0b479
+http://mbed.org/users/mbed_official/code/mbed/builds/8ed44a420e5c
\ No newline at end of file