Merge branch 'mseyfrie_dev' of https://git.it.hs-heilbronn.de/auribest/smart_garden into mseyfrie_dev
This commit is contained in:
commit
bb394523b5
@ -5,12 +5,11 @@
|
|||||||
#define DHTPIN PIN_DHT11
|
#define DHTPIN PIN_DHT11
|
||||||
#define DHTTYPE DHT11
|
#define DHTTYPE DHT11
|
||||||
|
|
||||||
// set pin and type
|
// specify pin and type
|
||||||
DHT_Unified dht(DHTPIN, DHTTYPE);
|
DHT_Unified dht(DHTPIN, DHTTYPE);
|
||||||
|
|
||||||
// initialize temperature sensor
|
// initialize temperature sensor
|
||||||
void setupTemperatureSensor() {
|
void setupTemperatureSensor() {
|
||||||
// Serial.begin(9600);
|
|
||||||
dht.begin();
|
dht.begin();
|
||||||
Serial.println(F("DHT11 Unified Sensor Ready"));
|
Serial.println(F("DHT11 Unified Sensor Ready"));
|
||||||
sensor_t sensor;
|
sensor_t sensor;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user