Removed wrong comments

This commit is contained in:
Tim Windelschmidt 2016-11-28 17:40:40 +01:00
parent b8d1373a22
commit eaeafd35b9
1 changed files with 0 additions and 15 deletions

View File

@ -1,11 +1,3 @@
/*
* This sketch sends data via HTTP GET requests to data.sparkfun.com service.
*
* You need to get streamId and privateKey at data.sparkfun.com and paste them
* below. Or just customize this script to talk to other HTTP servers.
*
*/
#include <ESP8266WiFi.h>
const char* ssid = "CTDO-g";
@ -23,16 +15,9 @@ void setup() {
delay(10);
pinMode(buttonPin, INPUT);
// We start by connecting to a WiFi network
Serial.println();
Serial.println();
Serial.print("Connecting to ");
Serial.println(ssid);
/* Explicitly set the ESP8266 to be a WiFi-client, otherwise, it by default,
would try to act as both a client and an access-point and could cause
network-issues with your other WiFi-devices on your WiFi-network. */
WiFi.mode(WIFI_STA);
WiFi.begin(ssid, password);