8 years, 10 months ago.

coming back...smile

Sorry again, coming with two small additionnal questions....( discovering c++, coming from visual c++ much easier ) so please excuse me again a) I do not know where to insert the pin numbers SCL and SDA as well as adress......should it be in .h or .cpp ? b) I need to start the SRF08 reading with an on/off switch....how should you proceed ?

Sorry again and thanks

Vincent

Question relating to:

Library for interfacing the SRF08 ultrasonic range sensor. Most functions of the SRF08 are covered, including interrupt-based waiting for the ranging process to finish range, sensor, SRF08

1 Answer

8 years, 10 months ago.

.cpp file as per the following examples:

https://developer.mbed.org/handbook/I2C

Accepted Answer