@@ -60,27 +60,27 @@ void trigger_alarm_out(void) {
60
60
alarm_led = 0 ;
61
61
}
62
62
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
65
65
* select one more time to begin the alarm timer.
66
66
*
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
69
69
* the timer, the LEDs will blink out the configured delay in hours and
70
70
* minutes before going into a low power sleep mode.
71
71
*
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
73
73
* until the next time it fires.
74
74
*__________________________________________________________________________
75
75
* You may also use the RTC (hardware or software through the Time API) to
76
76
* 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
79
79
* time.
80
80
*/
81
81
// Main thread
82
82
int main () {
83
- // Configure interrupt- in pins (button controls)
83
+ // Configure interrupt in pins (button controls)
84
84
sel.rise (inc_select);
85
85
inc_time.fall (set_time_leds);
86
86
inc_time.rise (inc_delay);
0 commit comments