Rtos API example
SRF08 Class Reference
Library for the SRF08 Ultrasonic Ranger. More...
#include <SRF08.h>
Public Member Functions | |
SRF08 (PinName sda, PinName scl, int addr) | |
Creates an instance of the class. | |
~SRF08 () | |
float | read () |
Reads the current temperature. |
Detailed Description
Library for the SRF08 Ultrasonic Ranger.
The SRF08 is an Ultrasonic range finder, with an I2C interface that allows the measurement to be read directly in centimetres
Definition at line 33 of file SRF08.h.
Constructor & Destructor Documentation
SRF08 | ( | PinName | sda, |
PinName | scl, | ||
int | addr | ||
) |
Member Function Documentation
Generated on Sun Jul 17 2022 08:25:42 by 1.7.2