ArbotiX_Code/librairies/Srf08/Srf08.cpp
void Srf08::ping(){
    // write command to read in CM
    Wire.beginTransmission(SRF_ADDR+_device);
    Wire.write(SRF_COMMAND);
    Wire.write(SRF_CMD_CM);
    Wire.endTransmission();
}
/** We must ping the sonar before we can read it back. */
We must ping the sonar before we can read it back.
We must ping the sonar before we can read it back .
void Srf08::ping(){
    Wire.beginTransmission(SRF_ADDR+_device);
    Wire.write(SRF_COMMAND);
    Wire.write(SRF_CMD_CM);
    Wire.endTransmission();
}
void Srf08 :: ping ( ) { Wire . beginTransmission ( SRF_ADDR + _device ) ; Wire . write ( SRF_COMMAND ) ; Wire . write ( SRF_CMD_CM ) ; Wire . endTransmission ( ) ; }
We must ping the sonar before we can read it back.
We must ping the sonar before we can read it back .
// write command to read in CM