From 5dd1a48f9a00225b92a601ba39693e369f0d307f Mon Sep 17 00:00:00 2001 From: Fede85 Date: Mon, 1 Jul 2013 20:11:14 +0200 Subject: modified the WifiStatus example and comments in TimeCheck example --- libraries/Bridge/examples/TimeCheck/TimeCheck.ino | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'libraries/Bridge/examples/TimeCheck/TimeCheck.ino') 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: -- cgit v1.2.3-18-g5258