Updated comments
This commit is contained in:
parent
e094aa5548
commit
53779e4bcd
|
@ -7,6 +7,7 @@
|
||||||
using an Arduino Yun.
|
using an Arduino Yun.
|
||||||
|
|
||||||
created 27 May 2013
|
created 27 May 2013
|
||||||
|
modified 17 June 2013
|
||||||
By Tom Igoe
|
By Tom Igoe
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -28,9 +29,7 @@ void setup() {
|
||||||
// run an initial date process. Should return:
|
// run an initial date process. Should return:
|
||||||
// hh:mm:ss :
|
// hh:mm:ss :
|
||||||
if (!date.running()) {
|
if (!date.running()) {
|
||||||
date.begin("date");
|
date.runShellCommand("date +%T");
|
||||||
date.addParameter("+%T");
|
|
||||||
date.run();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -49,9 +48,7 @@ void loop() {
|
||||||
|
|
||||||
// restart the date process:
|
// restart the date process:
|
||||||
if (!date.running()) {
|
if (!date.running()) {
|
||||||
date.begin("date");
|
date.runShellCommand("date +%T");
|
||||||
date.addParameter("+%T");
|
|
||||||
date.run();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -77,3 +74,4 @@ void loop() {
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue