This commit is contained in:
Sergio Álvarez 2016-02-26 20:49:03 +01:00
commit ed6e8d9d75
1 changed files with 2 additions and 1 deletions

View File

@ -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 <DHT.h>
#include <LiquidCrystal.h>
#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);