@@ -283,12 +283,13 @@ void setup()
283283 Serial.println (watch.getAddress ()); // mac address, call after begin()
284284
285285 watch.setBattery (80 ); // set the battery level, will be synced to the app
286+
286287
287- // watch.clearNotifications();
288+ // watch.clearNotifications(); // clear the default notification (Chronos)
288289
289290 watch.set24Hour (true ); // the 24 hour mode will be overwritten when the command is received from the app
290291 // this modifies the return of the functions below
291- watch.getAmPmC (true ); // 12 hour mode false ->(am/pm), true ->(AM/PM), if 24 hour mode returns empty string ("")
292+ watch.getAmPmC (true ); // 12 hour mode true ->(am/pm), false ->(AM/PM), if 24 hour mode returns empty string ("")
292293 watch.getHourC (); // (0-12), (0-23)
293294 watch.getHourZ (); // zero padded hour (00-12), (00-23)
294295 watch.is24Hour (); // resturns whether in 24 hour mode
@@ -298,6 +299,8 @@ void loop()
298299{
299300 watch.loop (); // handles internal routine functions
300301
302+ // watch.setBattery(85, true); // set the battery level and charging state
303+
301304 String time = watch.getHourC () + watch.getTime (" :%M " ) + watch.getAmPmC ();
302305 Serial.println (time);
303306 delay (5000 );
@@ -325,7 +328,7 @@ void loop()
325328
326329 /*
327330 // read the alarms, 8 available
328- // the alarms are only stored as received from the app
331+ // the alarms are only stored as received from the app, there is no function to trigger it yet
329332 for (int j = 0; j < 8; j++){
330333 Alarm a = watch.getAlarm(j);
331334 Serial.print("Alarm: ");
@@ -349,7 +352,7 @@ void loop()
349352
350353 for (int i = 0; i < n; i++)
351354 {
352- // iterate through available notifications , index 0 is the latest received notification
355+ // iterate through weather forecast , index 0 is today, 1 tomorrow...etc
353356 Weather w = watch.getWeatherAt(i);
354357 Serial.print("Day:"); // day of the week (0 - 6)
355358 Serial.print(w.day);
0 commit comments