 }
 
 void recordSerial() {
+  if (buttonMarker==1) {
+    Serial.println("<------------>");
+  }
   Serial.print(state);
   Serial.print("    ");
   Serial.print(analogvalue);

      if (pubConfig==0) {
        Cellular.disconnect();
        Cellular.off();
      }
    }*/

    /*else {
      WiFi.on();
      Time.zone(-8);
      Particle.syncTime();
      WiFi.off();
    }*/

    // Set up serial
    if (serialConfig==1) { Serial.begin(9600); }

    // Declare pin modes
    pinMode(VIBPIN,OUTPUT);
    pinMode(POWERPIN, OUTPUT);
    pinMode(SQUEEZEPIN, INPUT);

    // Turn on your power pin (this just gives us a constant level of power)
    // Could also just use 3v3 pin
    digitalWrite(POWERPIN,HIGH);

    // Start up your SD card
    if (sdConfig==1) {

    }

    // if the file opened okay, write to it:
    if (buttonMarker==1) {
      myFile.println("<------------>");
    }
    myFile.print(Time.year(logTime));
    myFile.print("-");
    myFile.print(Time.month(logTime));
