   setNumber(minutes);
 }
 
+void log(const String& message)
+{
+  String output;
+  rtc.now().addToString(output);
+  Serial.println(output + " " + message);
+}
+

  } else {
    setNumber(0);
    isRunning = false;
    Serial.write("Stopped countdown\n");
  }
}


  }
  
  if ( isRunning == false ) {
    isRunning = true;
    log("Manually started countdown");
  }
}

