     travelTime = Serial.parseInt();
     
     while (Serial.available() == 0) { }
-    logDelay = Serial.parseInt();
+    logDelay = (long) Serial.parseInt();
     previousLogMillis = millis();
     travelTimeSet = true;
+    Serial.print("Shrimp starts logging over ");
+    Serial.print(logDelay);Serial.println(" Seconds");
     
     EEPROMWritelong(3, previousLogMillis);
     EEPROM.write(7,travelTimeSet);
-    EEPROMWriteInt(8,logDelay);
-    EEPROMWritelong(10, travelTime);
+    EEPROMWritelong(8,logDelay);
+    EEPROMWritelong(12, travelTime);
 }
 
 void setLogInterval() {


void Humi() {
    Serial.println("Start");
    for (int i = 16; i < addr; i++)
        if (i % 2 == 0) Serial.println(EEPROM.read(i), DEC);
    Serial.println("End");
}

void Temp() {
    Serial.println("Start");
    for (int i = 16; i < addr; i++)
        if (i % 2 != 0) Serial.println(EEPROM.read(i), DEC);
    Serial.println("End");
}

    if (EEPROM.read(2)) logData = (boolean) EEPROM.read(2);
    if (EEPROMReadlong(3)) previousLogMillis = (long) EEPROMReadlong(3);
    if (EEPROM.read(7)) travelTimeSet = (boolean) EEPROM.read(7);
    if (EEPROMReadlong(8)) logDelay = (int) EEPROMReadInt(8);
    if (EEPROMReadlong(12)) travelTime = (long) EEPROMReadlong(10);
    if (EEPROMReadInt(16)) addr = (int) EEPROMReadInt(14);
    
    if (logInterval <= 1000) logData = false;
    
