mirror of
https://github.com/arduino/Arduino.git
synced 2025-01-29 18:52:13 +01:00
reviewed Bridge example headers
This commit is contained in:
parent
3e2008dfcc
commit
65f0819b05
@ -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 <Bridge.h>
|
||||
#include <YunServer.h>
|
||||
|
@ -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 <Bridge.h>
|
||||
#include <HttpClient.h>
|
||||
|
@ -29,7 +29,7 @@
|
||||
|
||||
This example code is in the public domain.
|
||||
|
||||
http://arduino.cc/en/Tutorial/TemperatureWebPanel
|
||||
http://arduino.cc/en/Tutorial/TemperatureWebPanel
|
||||
|
||||
*/
|
||||
|
||||
|
@ -1,4 +1,3 @@
|
||||
|
||||
/*
|
||||
Time Check
|
||||
|
||||
|
@ -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 <Process.h>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user