   long ii = millis();
   while (!fine) {
     digitalWrite(zampaPS,HIGH);
-    if ((millis() - ii) > (300*v) {
+    if ((millis() - ii) > (300*v)) {
       digitalWrite(zampaPS,LOW);
     } 
 

}

void loop() {
  w = map(analogRead(pot),0,1023,0.25,3);

  Serial.print("weight: ");
  Serial.println(w);

      digitalWrite(zampaAS,HIGH);
    }
    if ((millis() - ii) > (450*v)) {
      digitalWrite(zampaAS,LOW);
    }

    if ((millis() - ii) > (225*v)) {
      digitalWrite(zampaAD,HIGH);
    }
    if ((millis() - ii) > (525*v)) {
      digitalWrite(zampaAD,LOW);
      fine = true;
    }

