void setup() {
Wire.begin();
Serial.begin(9600);
while (!Serial) { }
Serial.println("\nI2C Scanner");
byte error, address;
int devicesCount = 0;
for (address = 1; address < 127; address++) {
Wire.beginTransmission(address);
error = Wire.endTransmission();
执行到这里下面的语句都不执行了,第一天代码可以成功运行,但是第二天无法取址