#include "DHT.h"
#define DHTPIN 7
#define DHTTYPE DHT22
DHT val(DHTPIN, DHTTYPE);//yo val i'm tryna tell you sumn here
void setup() {
val.begin(); //now talk to me val lemme hear ya
Serial.begin(9600);
}
void loop() {
// put your main code here, to run repeatedly:
float h = val.readHumidity();//this is val tellin me the humidity
float t = val.readTemperature();//this is val telling me the temp
Serial.print("Humidity:");
Serial.println(h);
Serial.print("Temp:");
Serial.println(t);
delay(1200);
}