mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-30 16:24:09 +03:00
Changes to integrate latest core updates to WiFly branch
This commit is contained in:
@ -9,7 +9,7 @@
|
||||
* WiFi shield attached
|
||||
|
||||
created 13 July 2010
|
||||
by Domenico La Fauci
|
||||
by dlf (Metodo2 srl)
|
||||
modified 21 May 2011
|
||||
by Tom Igoe
|
||||
*/
|
||||
@ -17,7 +17,6 @@
|
||||
|
||||
#include <SPI.h>
|
||||
#include <WiFi.h>
|
||||
#include <IPAddress.h>
|
||||
|
||||
char ssid[] = "yourNetwork";
|
||||
char pass[] = "secretPassword";
|
||||
@ -27,7 +26,7 @@ IPAddress server(74,125,115,105); // Google
|
||||
// Initialize the Ethernet client library
|
||||
// with the IP address and port of the server
|
||||
// that you want to connect to (port 80 is default for HTTP):
|
||||
Client client;
|
||||
WiFiClient client;
|
||||
|
||||
void setup() {
|
||||
Serial.begin(9600);
|
||||
|
Reference in New Issue
Block a user