Skip to content

Commit 63328b9

Browse files
committed
add explanation on reboot()
1 parent d1b117e commit 63328b9

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

examples/WeatherMonitor/WeatherMonitor.ino

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,9 @@ void setup() {
6868
}
6969

7070
if (!SigFox.begin()) {
71-
//something is really wrong, try rebooting
71+
// Something is really wrong, try rebooting
72+
// Reboot is useful if we are powering the board using an unreliable power source
73+
// (eg. solar panels or other energy harvesting methods)
7274
reboot();
7375
}
7476

examples/WeatherMonitorStream/WeatherMonitorStream.ino

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,9 @@ void setup() {
5454
}
5555

5656
if (!SigFox.begin()) {
57-
//something is really wrong, try rebooting
57+
// Something is really wrong, try rebooting
58+
// Reboot is useful if we are powering the board using an unreliable power source
59+
// (eg. solar panels or other energy harvesting methods)
5860
reboot();
5961
}
6062

0 commit comments

Comments
 (0)