File tree Expand file tree Collapse file tree 5 files changed +18
-20
lines changed
libraries/Bridge/examples Expand file tree Collapse file tree 5 files changed +18
-20
lines changed Original file line number Diff line number Diff line change 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
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>
Original file line number Diff line number Diff line change 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
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>
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 1-
21/*
32 Time Check
43
Original file line number Diff line number Diff line change 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.
1716
1817 http://arduino.cc/en/Tutorial/YunWiFiStatus
1918
20- */
19+ */
2120
2221#include < Process.h>
2322
You can’t perform that action at this time.
0 commit comments