Works with the parallax ping sensor. Uses a timer and interrupts to get the time and calculate the distance

Dependents:   Wifly_TCPEchoServer_Sensors ROBOT_v01 ROBOT_v02 mbed_blinky ... more

Files at this revision

API Documentation at this revision

Comitter:
rosienej
Date:
Sat Mar 12 22:32:06 2011 +0000
Parent:
0:1e4b66122368
Commit message:

Changed in this revision

Ping.h Show annotated file Show diff for this revision Revisions of this file
--- a/Ping.h	Sat Mar 12 22:26:10 2011 +0000
+++ b/Ping.h	Sat Mar 12 22:32:06 2011 +0000
@@ -47,7 +47,7 @@
  * }
  * @endcode
  */
-  class Ping {
+class Ping {
   public:
    /** Create a Ping object connected to the specified InterruptIn pin
     *