We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 57fe168 commit b510c2aCopy full SHA for b510c2a
hardware/arduino/avr/libraries/Bridge/examples/TimeCheck/TimeCheck.ino
@@ -7,6 +7,7 @@
7
using an Arduino Yun.
8
9
created 27 May 2013
10
+ modified 17 June 2013
11
By Tom Igoe
12
*/
13
@@ -28,9 +29,7 @@ void setup() {
28
29
// run an initial date process. Should return:
30
// hh:mm:ss :
31
if (!date.running()) {
- date.begin("date");
32
- date.addParameter("+%T");
33
- date.run();
+ date.runShellCommand("date +%T");
34
}
35
36
@@ -49,9 +48,7 @@ void loop() {
49
48
50
// restart the date process:
51
52
53
54
55
56
57
@@ -77,3 +74,4 @@ void loop() {
77
74
78
75
79
76
+
0 commit comments