 {
     byte error, address;
     int nDevices=0;
-    // delay to let serial monitor connection
-    delay(2000);
     Wire.begin();
     for (address = 0; address < 127; address++) {
         // The i2c_scanner uses the return value of

void loop()
{
    byte cnt;
    byte buf[6];
    while (1) {
        cnt=0;
        send_zero();

void setup()
{
    Serial.begin(115200);
    i2c_scanner();
    Wire.begin(); // master
    delay(1);
    Wire.beginTransmission(0x52);
