From 65f0819b05d37c66075c9602c1706b10d7ca5b37 Mon Sep 17 00:00:00 2001 From: Federico Fissore Date: Tue, 10 Sep 2013 10:23:29 +0200 Subject: [PATCH] reviewed Bridge example headers --- libraries/Bridge/examples/Bridge/Bridge.ino | 21 ++++++++++--------- .../Bridge/examples/HttpClient/HttpClient.ino | 9 ++++---- .../TemperatureWebPanel.ino | 2 +- .../Bridge/examples/TimeCheck/TimeCheck.ino | 1 - .../Bridge/examples/WiFiStatus/WiFiStatus.ino | 5 ++--- 5 files changed, 18 insertions(+), 20 deletions(-) diff --git a/libraries/Bridge/examples/Bridge/Bridge.ino b/libraries/Bridge/examples/Bridge/Bridge.ino index f7214b0ba..d9c8fd80b 100644 --- a/libraries/Bridge/examples/Bridge/Bridge.ino +++ b/libraries/Bridge/examples/Bridge/Bridge.ino @@ -1,5 +1,5 @@ /* - Arduino Yun Bridge example + Arduino Yun Bridge example This example for the Arduino Yun shows how to use the Bridge library to access the digital and analog pins @@ -9,17 +9,18 @@ Possible commands created in this shetch: - * "digital/13" -> digitalRead(13) - * "digital/13/1" -> digitalWrite(13, HIGH) - * "analog/2/123" -> analogWrite(2, 123) - * "analog/2" -> analogRead(2) - * "mode/13/input" -> pinMode(13, INPUT) - * "mode/13/output" -> pinMode(13, OUTPUT) - - http://arduino.cc/en/Tutorial/Bridge + * "/arduino/digital/13" -> digitalRead(13) + * "/arduino/digital/13/1" -> digitalWrite(13, HIGH) + * "/arduino/analog/2/123" -> analogWrite(2, 123) + * "/arduino/analog/2" -> analogRead(2) + * "/arduino/mode/13/input" -> pinMode(13, INPUT) + * "/arduino/mode/13/output" -> pinMode(13, OUTPUT) This example code is part of the public domain -*/ + + http://arduino.cc/en/Tutorial/Bridge + + */ #include #include diff --git a/libraries/Bridge/examples/HttpClient/HttpClient.ino b/libraries/Bridge/examples/HttpClient/HttpClient.ino index 55736f279..d101e47a4 100644 --- a/libraries/Bridge/examples/HttpClient/HttpClient.ino +++ b/libraries/Bridge/examples/HttpClient/HttpClient.ino @@ -1,6 +1,5 @@ /* - - Yun HTTP Client + Yun HTTP Client This example for the Arduino Yún shows how create a basic HTTP client that connects to the internet and downloads @@ -12,9 +11,9 @@ This example code is in the public domain. - http://arduino.cc/en/Tutorial/HttpClient - -*/ + http://arduino.cc/en/Tutorial/HttpClient + + */ #include #include diff --git a/libraries/Bridge/examples/TemperatureWebPanel/TemperatureWebPanel.ino b/libraries/Bridge/examples/TemperatureWebPanel/TemperatureWebPanel.ino index b7e4bd85e..969c70e48 100644 --- a/libraries/Bridge/examples/TemperatureWebPanel/TemperatureWebPanel.ino +++ b/libraries/Bridge/examples/TemperatureWebPanel/TemperatureWebPanel.ino @@ -29,7 +29,7 @@ This example code is in the public domain. - http://arduino.cc/en/Tutorial/TemperatureWebPanel + http://arduino.cc/en/Tutorial/TemperatureWebPanel */ diff --git a/libraries/Bridge/examples/TimeCheck/TimeCheck.ino b/libraries/Bridge/examples/TimeCheck/TimeCheck.ino index c75cb9406..540ffeb26 100644 --- a/libraries/Bridge/examples/TimeCheck/TimeCheck.ino +++ b/libraries/Bridge/examples/TimeCheck/TimeCheck.ino @@ -1,4 +1,3 @@ - /* Time Check diff --git a/libraries/Bridge/examples/WiFiStatus/WiFiStatus.ino b/libraries/Bridge/examples/WiFiStatus/WiFiStatus.ino index 781004064..be934a9e9 100644 --- a/libraries/Bridge/examples/WiFiStatus/WiFiStatus.ino +++ b/libraries/Bridge/examples/WiFiStatus/WiFiStatus.ino @@ -1,6 +1,5 @@ - /* - WiFi Status + WiFi Status This sketch runs a script called "pretty-wifi-info.lua" installed on your Yún in folder /usr/bin. @@ -17,7 +16,7 @@ http://arduino.cc/en/Tutorial/YunWiFiStatus -*/ + */ #include