Simple library for reading distance from SRF02 Ultrasonic Sensor in I2C mode. With the use of imperial readings too
Fork of SRF02 by
Diff: SRF02.h
- Revision:
- 2:ad1613b4145c
- Parent:
- 1:8e6587d88773
- Child:
- 3:78c8202f8929
--- a/SRF02.h Sun Mar 08 14:21:40 2015 +0000 +++ b/SRF02.h Fri Mar 18 15:03:50 2016 +0000 @@ -64,6 +64,8 @@ * @param sclPin - mbed SCL pin * */ + + SRF02(PinName sdaPin, PinName sclPin); /** Read distance in centimetres *