 
       //and it's been around for a while without getting turned off, activate
       if (millis() - timeNoticed >= delayTillAlarm && activated == false) {
-        bluetooth.write('1');
+        bluetooth.print("|1|");
         activated = true;
         lastSignal = millis();
       }
 
       //if the alarm has already been activated, wait for the first alarm to play so you don't flood the alarm beacon
       if (activated && millis() - lastSignal >= 1200) {
-        bluetooth.write('1');
+        bluetooth.print("|1|");
         lastSignal = millis();
       }
 

    int checkReturned = atoi((const char *) &num) * 10;
    num = Serial.read();
    checkReturned += atoi((const char *) &num);

    if (opMode == alarm) {


    }
    else if (opMode == sensor) {
      //increment the return value by one, and send back
      bluetooth.print("|" + String(200 + checkReturned + 1) + "|");
      return 2;
    }

