Skip to content

Commit

Permalink
Update SetAlarms.ino
Browse files Browse the repository at this point in the history
Corrected comment indentation
  • Loading branch information
SV-Zanshin authored Jan 26, 2025
1 parent cb0659e commit 88b24d5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/SetAlarms/SetAlarms.ino
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ void setup() {
Serial.println(F("Oscillator did not start, trying again."));
delay(1000);
} // of if-then oscillator didn't start
} // of while the oscillator is of
} // of while the oscillator is off
Serial.println("Setting MCP7940M to date/time of library compile");
MCP7940.adjust(); // Use compile date/time to set clock
Serial.print("Date/Time set to ");
Expand Down Expand Up @@ -135,7 +135,7 @@ void loop() {
{
Serial.print(" *Alarm0*");
MCP7940.clearAlarm(0);
} // of if Alarm 0 has been triggered
} // of if Alarm 0 has been triggered
if (MCP7940.isAlarm(1)) // When alarm 0 is triggered
{
Serial.print(" *Alarm1* resetting to go off next at ");
Expand All @@ -144,7 +144,7 @@ void loop() {
now.hour(), now.minute(), now.second());
Serial.print(inputBuffer);
MCP7940.setAlarm(1, matchAll, now, true); // Set alarm to go off in 10s again
} // of if Alarm 0 has been triggered
} // of if Alarm 0 has been triggered
Serial.println();
} // of if the seconds have changed
} // of method loop()

0 comments on commit 88b24d5

Please sign in to comment.