Skip to content

Commit 58e7bb9

Browse files
author
Amanda Butler
authored
Edit main.cpp
Edit comments for active voice and phrasing
1 parent c4737f9 commit 58e7bb9

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

Alarm/main.cpp

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -60,27 +60,27 @@ void trigger_alarm_out(void) {
6060
alarm_led = 0;
6161
}
6262

63-
/* Use buttons to select alarm time. Cycle through hours in an incrementing
64-
* fashion using button1, hit select and increment through minutes. Hit
63+
/* Use buttons to select the alarm time. Cycle through hours in an incrementing
64+
* fashion using Button1. Press select, and increment through minutes. Press
6565
* select one more time to begin the alarm timer.
6666
*
67-
* The Time LEDs will blink in time with the button inputs to show the
68-
* currently selected alarm time. Once select is hit a second time to begin
67+
* The Time LEDs blink in time with the button inputs to show the
68+
* currently selected alarm time. Once you press select a second time to begin
6969
* the timer, the LEDs will blink out the configured delay in hours and
7070
* minutes before going into a low power sleep mode.
7171
*
72-
* Once the alarm fires, hitting the select button will turn the alarm off
72+
* Once the alarm fires, pressing the select button will turn the alarm off
7373
* until the next time it fires.
7474
*__________________________________________________________________________
7575
* You may also use the RTC (hardware or software through the Time API) to
7676
* set a real world time and set an alarm for a specific timestamp rather
77-
* than on a delay. This would require manually setting the time on each
78-
* reset however, or an internet connection to automatically collect the
77+
* than on a delay. However, this requires manually setting the time on each
78+
* reset, or an internet connection to automatically collect the
7979
* time.
8080
*/
8181
// Main thread
8282
int main() {
83-
// Configure interrupt-in pins (button controls)
83+
// Configure interrupt in pins (button controls)
8484
sel.rise(inc_select);
8585
inc_time.fall(set_time_leds);
8686
inc_time.rise(inc_delay);

0 commit comments

Comments
 (0)