Library for using HC-SR04 with some API Documentation added
Fork of HC_SR04_Ultrasonic_Library by
Revision 6:c0f8b860f55d, committed 2016-04-30
- Comitter:
- knotbeer
- Date:
- Sat Apr 30 05:40:42 2016 +0000
- Parent:
- 5:182e800b81f0
- Commit message:
- API Documentation
Changed in this revision
| ultrasonic.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/ultrasonic.h Thu Apr 28 02:37:52 2016 +0000
+++ b/ultrasonic.h Sat Apr 30 05:40:42 2016 +0000
@@ -42,9 +42,9 @@
ultrasonic(PinName trigPin, PinName echoPin, float updateSpeed, float timeout, void onUpdate(int));
/** returns the last measured distance**/
int getCurrentDistance(void);
- /**pauses measuring the distance**/
+ /** auses measuring the distance**/
void pauseUpdates(void);
- /**starts mesuring the distance**/
+ /** tarts mesuring the distance**/
void startUpdates(void);
/**attachs the method to be called when the distances changes
* @param method(int) The function to be called when the distance is detected to have changed.
