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
Diff: main.cpp
- Revision:
- 1:285d47b768ac
- Parent:
- 0:186bb2174995
--- 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() {