#include <DHT11.H>;
int e;
float temp;hum;
void setup() {
Serial.begin(9600); // put your setup code here, to run once:
}
void loop() {
e=Sensor.read(temp,hum);
if(e==0){
Serial.print("Temperatura:");
Serial.println(temp);
Serial.print("Humedad:");
Serial.println(hum);
}
else {
Serial.print("error");
}
delay(1500);
}