aboutsummaryrefslogtreecommitdiff
path: root/libraries/Bridge/examples/TimeCheck/TimeCheck.ino
diff options
context:
space:
mode:
authorFede85 <f.vanzati@gmail.com>2013-07-01 20:11:14 +0200
committerFede85 <f.vanzati@gmail.com>2013-07-01 20:11:14 +0200
commit5dd1a48f9a00225b92a601ba39693e369f0d307f (patch)
tree2db1303ad8e23d768013f8f6c47c1d38f7634dd6 /libraries/Bridge/examples/TimeCheck/TimeCheck.ino
parent92ea15d31740bd5f6458410f4b95f5f89aa33de4 (diff)
modified the WifiStatus example and comments in TimeCheck example
Diffstat (limited to 'libraries/Bridge/examples/TimeCheck/TimeCheck.ino')
-rw-r--r--libraries/Bridge/examples/TimeCheck/TimeCheck.ino9
1 files changed, 6 insertions, 3 deletions
diff --git a/libraries/Bridge/examples/TimeCheck/TimeCheck.ino b/libraries/Bridge/examples/TimeCheck/TimeCheck.ino
index 2673dea..848ff25 100644
--- a/libraries/Bridge/examples/TimeCheck/TimeCheck.ino
+++ b/libraries/Bridge/examples/TimeCheck/TimeCheck.ino
@@ -4,11 +4,14 @@
Gets the time from the linino processor via Bridge
then parses out hours, minutes and seconds for the Arduino
- using an Arduino Yun.
+ using an Arduino Yún.
created 27 May 2013
modified 21 June 2013
By Tom Igoe
+
+ This example code is in the public domain.
+
*/
@@ -19,10 +22,10 @@ int hours, minutes, seconds; // for the results
int lastSecond = -1; // need an impossible value for comparison
void setup() {
- Serial.begin(9600); // initialize serial
Bridge.begin(); // initialize Bridge
+ Serial.begin(9600); // initialize serial
- while(!Serial); // wait for Serial Monitor to open
+ while(!Serial); // wait for Serial Monitor to open
Serial.println("Time Check"); // Title of sketch
// run an initial date process. Should return: