Library for using HC-SR04 with some API Documentation added
Fork of HC_SR04_Ultrasonic_Library by
Diff: ultrasonic.h
- Revision:
- 6:c0f8b860f55d
- Parent:
- 5:182e800b81f0
--- 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.