From 0e213afd2262cb482f365b4de0ed4d6e1cc2a830 Mon Sep 17 00:00:00 2001 From: Arne Schroeder Date: Sat, 21 Sep 2019 21:00:00 +0200 Subject: [PATCH] remove comment --- .../WeatherSensor_D1mini.ino | 27 ++----------------- 1 file changed, 2 insertions(+), 25 deletions(-) diff --git a/Software/WeatherSensor_D1mini/WeatherSensor_D1mini.ino b/Software/WeatherSensor_D1mini/WeatherSensor_D1mini.ino index 7495eb5..d2bc274 100644 --- a/Software/WeatherSensor_D1mini/WeatherSensor_D1mini.ino +++ b/Software/WeatherSensor_D1mini/WeatherSensor_D1mini.ino @@ -1,33 +1,10 @@ -/* - Basic ESP8266 MQTT example - - This sketch demonstrates the capabilities of the pubsub library in combination - with the ESP8266 board/library. - - It connects to an MQTT server then: - - publishes "hello world" to the topic "outTopic" every two seconds - - subscribes to the topic "inTopic", printing out any messages - it receives. NB - it assumes the received payloads are strings not binary - - If the first character of the topic "inTopic" is an 1, switch ON the ESP Led, - else switch it off - - It will reconnect to the server if the connection is lost using a blocking - reconnect function. See the 'mqtt_reconnect_nonblocking' example for how to - achieve the same result without blocking the main loop. - - To install the ESP8266 board, (using Arduino 1.6.4+): - - Add the following 3rd party board manager under "File -> Preferences -> Additional Boards Manager URLs": - http://arduino.esp8266.com/stable/package_esp8266com_index.json - - Open the "Tools -> Board -> Board Manager" and click install for the ESP8266" - - Select your ESP8266 in "Tools -> Board" - -*/ - #include #include // Update these with values suitable for your network. +const int CONFIG_PIN = D0; + const char *ssid = "AcS"; const char *password = "67993776724373201548"; const char* mqtt_server = "192.168.1.98";