 void printDigits(int digits){
   // utility function for digital clock display: prints preceding colon and leading 0
   Serial.print(":");
-  if(digits < 10) Serial.print('0');
+  if(digits < 10)
+    Serial.print('0');
   Serial.print(digits);
-}+}

      Serial.println( msgIn );
      rcvdNum = (int)msgIn.substring(1 + msgIn.indexOf(' ')).toInt();
      msgIn = "";
    }else{
      msgIn += lastChar;
    }

      i++;
    }
  }
  
  printAndSendString( " " + (String)rcvdNum ); //also puts the 0 at the end of TX string
  printAndSendChar( 10 );
}

