   Serial.begin(BAUD_RATE);
  
   lcd.begin(16, 2);
-  lcd.print("Starting....");
+  lcd.print("Starting...");
   for (int i = 0; i < WEIGHT_SENSORS; i++) {
     //scales[i].set_scale(-228.f);
+    lastValue[i] = 0;
+    last[i] = 0;
+    lastPrint[i] = 0;
     scales[i].set_scale(228.f);
     scales[i].tare();
     delay(DELAY);

  return value;
}

char* safeLCDString(const char* src) {
  return safeLCDString(16, src);
}

char* safeLCDString(const int length, const char* src) {
  char result[length];
  for(int i = 0; i < length ; i++) {
    result[i] = 'd';
  }
  //strncpy(result, src, sizeof(src));
  for(int i = 0; i < length ; i++) {
    if (result[i] == '\0') {
      result[i] = ' ';
    }
  }
  result[length - 1] = '\0';
  Serial.println(result);
  return result;
}

void printToSerial(const float value, const unsigned long now, String& weightName) {
  if ((lastPrint + DEFAULT_WEIGHT_PRINT_TIME) < now || ((useFastWeight && (last + DEFAULT_WEIGHT_TIME_FAST) < now))) {
    Serial.print(weightName);
    Serial.println(value, 1);
    lastPrint = now;
  }
}


#define BUTTON_PIN   0

// initialize the library with the numbers of the interface pins
LiquidCrystal lcd(13, 12, 8, 9, 10, 11); //PROD
//LiquidCrystal lcd(8, 9, 4, 5, 6, 7); //DEBUG
HX711 scales[] = {
  HX711 (A1, A2), HX711 (A3, A4)}; //A1 = ANALOG1 = DT // A2=SCK
int eepromAddress[WEIGHT_SENSORS] = {0};

unsigned long last[WEIGHT_SENSORS];
unsigned long lastPrint[WEIGHT_SENSORS];
const String kilo = "kg";

// KEY VARIABLES
