Skip to content

Commit

Permalink
BMP180 & HTU21 Plug&Play
Browse files Browse the repository at this point in the history
  • Loading branch information
Pfannex committed Nov 17, 2016
1 parent d47e40a commit 9dc5c7e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ESP8266_Basic.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ Erledigt: OTA onDemand
#include <DallasTemperature.h>
//I2C
#include <Wire.h>
#include <Adafruit_BMP085.h>
#include "Adafruit_HTU21DF.h" //Temp / Humi
#include <Adafruit_BMP085.h> //Temperature / Pressure
#include "Adafruit_HTU21DF.h" //Temperature / Humidity

//MySQL
#include <MySQL_Connection.h>
Expand Down Expand Up @@ -88,8 +88,7 @@ class ESP8266_Basic{
void handle_Measurement();
TDS18B20_Sensors DS18B20_Sensors;
THTU21_Sensors HTU21_Sensors;


TBMP180_Sensors BMP180_Sensors;

private:
WiFiClient wifi_client;
Expand All @@ -105,6 +104,7 @@ class ESP8266_Basic{
void scanI2C();
void mux(byte channel);
bool HTU21_begin();
bool BMP180_begin();

//WiFi-Manager-Control---------------
void startConfigServer();
Expand Down

0 comments on commit 9dc5c7e

Please sign in to comment.