Hello,
I currently am trying to work with several SRF08 sensors (on an Arduino Uno), but in order to do so, I obviously have to change their addresses... but, although I follow the data-sheet's instructions, I can't get to do that.
Here is the code :
Wire.begin();
Wire.beginTransmission(Old_Address);
Wire.send(0);
Wire.send(0xA0);
Wire.endTransmission();
Wire.beginTransmission(Old_Address);
Wire.send(0);
Wire.send(0xAA);
Wire.endTransmission();
Wire.beginTransmission(Old_Address);
Wire.send(0);
Wire.send(0xA5);
Wire.endTransmission();
Wire.beginTransmission(Old_Address);
Wire.send(0);
Wire.send(New_Address);
Wire.endTransmission();
I don't know what to do, I hope someone will be able to help. Thanks in advance.