mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-16 11:21:18 +03:00
reviewed Bridge example headers
This commit is contained in:
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Arduino Yun Bridge example
|
Arduino Yun Bridge example
|
||||||
|
|
||||||
This example for the Arduino Yun shows how to use the
|
This example for the Arduino Yun shows how to use the
|
||||||
Bridge library to access the digital and analog pins
|
Bridge library to access the digital and analog pins
|
||||||
@ -9,17 +9,18 @@
|
|||||||
|
|
||||||
Possible commands created in this shetch:
|
Possible commands created in this shetch:
|
||||||
|
|
||||||
* "digital/13" -> digitalRead(13)
|
* "/arduino/digital/13" -> digitalRead(13)
|
||||||
* "digital/13/1" -> digitalWrite(13, HIGH)
|
* "/arduino/digital/13/1" -> digitalWrite(13, HIGH)
|
||||||
* "analog/2/123" -> analogWrite(2, 123)
|
* "/arduino/analog/2/123" -> analogWrite(2, 123)
|
||||||
* "analog/2" -> analogRead(2)
|
* "/arduino/analog/2" -> analogRead(2)
|
||||||
* "mode/13/input" -> pinMode(13, INPUT)
|
* "/arduino/mode/13/input" -> pinMode(13, INPUT)
|
||||||
* "mode/13/output" -> pinMode(13, OUTPUT)
|
* "/arduino/mode/13/output" -> pinMode(13, OUTPUT)
|
||||||
|
|
||||||
http://arduino.cc/en/Tutorial/Bridge
|
|
||||||
|
|
||||||
This example code is part of the public domain
|
This example code is part of the public domain
|
||||||
*/
|
|
||||||
|
http://arduino.cc/en/Tutorial/Bridge
|
||||||
|
|
||||||
|
*/
|
||||||
|
|
||||||
#include <Bridge.h>
|
#include <Bridge.h>
|
||||||
#include <YunServer.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
|
This example for the Arduino Yún shows how create a basic
|
||||||
HTTP client that connects to the internet and downloads
|
HTTP client that connects to the internet and downloads
|
||||||
@ -12,9 +11,9 @@
|
|||||||
|
|
||||||
This example code is in the public domain.
|
This example code is in the public domain.
|
||||||
|
|
||||||
http://arduino.cc/en/Tutorial/HttpClient
|
http://arduino.cc/en/Tutorial/HttpClient
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <Bridge.h>
|
#include <Bridge.h>
|
||||||
#include <HttpClient.h>
|
#include <HttpClient.h>
|
||||||
|
@ -29,7 +29,7 @@
|
|||||||
|
|
||||||
This example code is in the public domain.
|
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
|
Time Check
|
||||||
|
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
WiFi Status
|
WiFi Status
|
||||||
|
|
||||||
This sketch runs a script called "pretty-wifi-info.lua"
|
This sketch runs a script called "pretty-wifi-info.lua"
|
||||||
installed on your Yún in folder /usr/bin.
|
installed on your Yún in folder /usr/bin.
|
||||||
@ -17,7 +16,7 @@
|
|||||||
|
|
||||||
http://arduino.cc/en/Tutorial/YunWiFiStatus
|
http://arduino.cc/en/Tutorial/YunWiFiStatus
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <Process.h>
|
#include <Process.h>
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user