View mqttSensor2.ino
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <ESP8266WiFi.h> | |
#include <PubSubClient.h> | |
#include <Adafruit_BMP085.h> | |
Adafruit_BMP085 bmp; | |
const char* ssid = "ArduinoSensor"; | |
const char* password = "ArduinoSensorNetwork"; | |
const char* mqttServer = "192.168.1.1"; | |
const int sleepTimeS = 60; |