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


void setup()
{
  Serial.begin(38400);
  if ( DEBUG_OUT ) {
    Serial.println("pet pad scale started");
    delay(100);

void doUpdateHX711()
{
  volatile float fmeasured = scale.get_units(5) ;
  measured = int(fmeasured * 10) ;
  tosend = measured;
  isSent = ! isSent;
}

void loop()
{

  t.update();

  if ( isSent != o_isSent )
