 
 HX711 scale(A0, A1);
 
-#define DEBUG_OUT 1
+#define DEBUG_OUT 0
 
 const int nemoisonPin = 9;
-volatile int measured = 0;
+volatile int isSent;
+int measured = 0;
 volatile int tosend   = 0;
 long startMills;
 

  pinMode(nemoisonPin, OUTPUT);
  digitalWrite(nemoisonPin, LOW);

  delay(5000);

  scale.set_scale(23040.f);
  scale.tare();

  Wire.begin(2);
  Wire.onRequest(requestEvent);
}



    digitalWrite(nemoisonPin, LOW);
  }

  scale.power_down();
  delay(50);
  scale.power_up();
}

void requestEvent()
{
  isSent = HIGH;
  byte myArray[3];
  myArray[0] = (abs(tosend) >> 8 ) & 0xFF;
  myArray[1] = abs(tosend) & 0xFF;
