Skip to content

Commit 65f0819

Browse files
author
Federico Fissore
committed
reviewed Bridge example headers
1 parent 3e2008d commit 65f0819

File tree

5 files changed

+18
-20
lines changed

5 files changed

+18
-20
lines changed

libraries/Bridge/examples/Bridge/Bridge.ino

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
Arduino Yun Bridge example
2+
Arduino Yun Bridge example
33
44
This example for the Arduino Yun shows how to use the
55
Bridge library to access the digital and analog pins
@@ -9,17 +9,18 @@
99
1010
Possible commands created in this shetch:
1111
12-
* "digital/13" -> digitalRead(13)
13-
* "digital/13/1" -> digitalWrite(13, HIGH)
14-
* "analog/2/123" -> analogWrite(2, 123)
15-
* "analog/2" -> analogRead(2)
16-
* "mode/13/input" -> pinMode(13, INPUT)
17-
* "mode/13/output" -> pinMode(13, OUTPUT)
18-
19-
http://arduino.cc/en/Tutorial/Bridge
12+
* "/arduino/digital/13" -> digitalRead(13)
13+
* "/arduino/digital/13/1" -> digitalWrite(13, HIGH)
14+
* "/arduino/analog/2/123" -> analogWrite(2, 123)
15+
* "/arduino/analog/2" -> analogRead(2)
16+
* "/arduino/mode/13/input" -> pinMode(13, INPUT)
17+
* "/arduino/mode/13/output" -> pinMode(13, OUTPUT)
2018
2119
This example code is part of the public domain
22-
*/
20+
21+
http://arduino.cc/en/Tutorial/Bridge
22+
23+
*/
2324

2425
#include <Bridge.h>
2526
#include <YunServer.h>

libraries/Bridge/examples/HttpClient/HttpClient.ino

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
/*
2-
3-
Yun HTTP Client
2+
Yun HTTP Client
43
54
This example for the Arduino Yún shows how create a basic
65
HTTP client that connects to the internet and downloads
@@ -12,9 +11,9 @@
1211
1312
This example code is in the public domain.
1413
15-
http://arduino.cc/en/Tutorial/HttpClient
16-
17-
*/
14+
http://arduino.cc/en/Tutorial/HttpClient
15+
16+
*/
1817

1918
#include <Bridge.h>
2019
#include <HttpClient.h>

libraries/Bridge/examples/TemperatureWebPanel/TemperatureWebPanel.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
3030
This example code is in the public domain.
3131
32-
http://arduino.cc/en/Tutorial/TemperatureWebPanel
32+
http://arduino.cc/en/Tutorial/TemperatureWebPanel
3333
3434
*/
3535

libraries/Bridge/examples/TimeCheck/TimeCheck.ino

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
/*
32
Time Check
43

libraries/Bridge/examples/WiFiStatus/WiFiStatus.ino

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
21
/*
3-
WiFi Status
2+
WiFi Status
43
54
This sketch runs a script called "pretty-wifi-info.lua"
65
installed on your Yún in folder /usr/bin.
@@ -17,7 +16,7 @@
1716
1817
http://arduino.cc/en/Tutorial/YunWiFiStatus
1918
20-
*/
19+
*/
2120

2221
#include <Process.h>
2322

0 commit comments

Comments
 (0)