A program that demonstrates the development of library, using as an example an ultrasonic distance sensor HC-SR04.
Dependencies: mbed HCSR04 AutomationElements
The purpose of this program is to encourage students to develope their own classes. Instructions how to follow the development of this program and class HCSR04 for ultrasonic distance measurement are given here.
Revisions of HCSR04.lib
Revision | Date | Message | Actions |
---|---|---|---|
6:bca0839e8295 | 2016-12-10 | Filtering with Ticker object corrected. | File Diff Annotate |
4:052ac3f5c938 | 2015-12-07 | PT1 filter added | File Diff Annotate |
3:3297ea6e3ae1 | 2015-12-07 | Setting and displaying sensor ranges added. Displaying the distance in mm. | File Diff Annotate |
2:f86b1e3609b3 | 2015-12-05 | Library HCSR04 created. | File Diff Annotate |