This small program will return a value every second
Connect sensors 5V to 5V, GND to GND and Aout to Aduinos A0
Upload .. then open the serial monitor (lower right.:.9600 baud)
U'll get a value that changes with humidity (try blowing at the sensor)
.. That number goes into a funtion which return the actual RH
void setup()
{
Serial.begin(9600);
}
void loop()
{
int sensorValue = analogRead(A0);
Serial.println(sensorValue);
delay(1000);
}