 
 void loop()
 {
-  measured = int( scale.get_units(10) * 1000 );
+  if ( DEBUG_OUT ) {
+    Serial.print((millis() - startMills) * 0.001, 2);
+    Serial.print("\t: ");
+  }
+    
+  float fmeasured = scale.get_units(10) ; 
+  measured = int(fmeasured * 1000) ;
 
   if ( DEBUG_OUT ) {
-    Serial.print((millis() - startMills) * 0.001, 2);
-    Serial.print(" : ");
+    Serial.print(fmeasured, 5);
+    Serial.print("\t: ");
+    Serial.print(measured);    
+  }
+
+  if (( measured < 0 ) || ( measured > 7000 )) {
+    measured = 0;
+  }
+  
+  if ( DEBUG_OUT ) {
+    Serial.print("\t:\t");
     Serial.println(measured);
   }
-
-  if (( measured < 0 ) || ( measured > 7000 )){ measured = 0; }
-
+  
   tosend = measured;
 
   if ( measured > 500 )

    digitalWrite(nemoisonPin, HIGH);
  } else {
    digitalWrite(nemoisonPin, LOW);
    }
  }

  delay(200);
}

void requestEvent()

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

  delay(5000);

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