I keep receiving zero on the serial monitor, I can't figure out why. Help please!
//Libraries
#include <dht.h>
dht DHT;
//Constants
#define DHT11_PIN 2 // DHT 22 (AM2302) - what pin we're connected to
//Variables
String TextForSms ;
String hum = " Humidity: %"; //Stores humidity value
String temp = " Temperature"; //Stores temperature value
String sign = " *C";
char fromc;
void setup()
{
** Serial.begin(9600);**
}
void loop()
{
** delay(2000); //Delay 2 sec.**
** //Read data and store it to variables hum and temp**
** int hum = DHT.humidity;**
** int temp= DHT.temperature;**
** //Print temp and humidity values to serial monitor**
** if (isnan(hum) || isnan(temp)) {**
** Serial.println("Failed to read from DHT sensor!");**
** return;**
** }**
** TextForSms = TextForSms + temp + "," + hum + ","; // sorry comma**
Serial.println(TextForSms);
** TextForSms = "";**
** delay(1000); **
}