     digitalWrite(nemoisonPin, HIGH);
   } else {
     digitalWrite(nemoisonPin, LOW);
-    }
   }
 
+  //scale.power_down();
   delay(200);
+  //scale.power_up();
 }
 
 void requestEvent()


void loop()
{
  measured = int( scale.get_units(10) * 1000 );

  if ( DEBUG_OUT ) {
    Serial.print((millis() - startMills) * 0.001, 2);
    Serial.print(" : ");
    Serial.println(measured);
  }

  if (( measured < 0 ) || ( measured > 7000 )){ measured = 0; }

  tosend = measured;

  if ( measured > 500 )


HX711 scale(A0, A1);

#define DEBUG_OUT 0

const int nemoisonPin = 9;
volatile int measured = 0;
