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
Diff: Ping.h
- Revision:
- 1:6996f66161d7
- Parent:
- 0:1e4b66122368
--- 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 *