From e7cc0216deabf5213e17fb319a404d5c4858926c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20=C3=81lvarez?= Date: Fri, 26 Feb 2016 20:47:34 +0100 Subject: [PATCH] DHT22 support --- sketch_lcd/sketch_lcd.ino | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sketch_lcd/sketch_lcd.ino b/sketch_lcd/sketch_lcd.ino index 4037c98..82d3c36 100644 --- a/sketch_lcd/sketch_lcd.ino +++ b/sketch_lcd/sketch_lcd.ino @@ -1,13 +1,14 @@ // https://www.arduino.cc/en/Reference/LiquidCrystal // https://www.youtube.com/watch?v=dZZynJLmTn8 +// https://www.youtube.com/watch?v=R-CRIthB7ZY // http://howtomechatronics.com/tutorials/arduino/lcd-tutorial/ #include #include #define DHT_APin A0 // Pin Análogico al que he conectado el sensor -#define DHT_Type DHT11 // mi sensor es el DHT11 +#define DHT_Type DHT22 // mi sensor es el DHT11 // init DHT dht(DHT_APin, DHT_Type);