UKHeliBob:
if (state != lstate)Personally I would change this to
if (state != lstate && state == HIGH)to avoid the need to divide the frequency by 2 later.
Does the reading go in the correct direction if you change the humidity ?
i think it's going on the right direction, when i blow on the sensor the humidity increase, but the results are very far, i get the results shown in the attached files (the float is the humidity, it is very high?)
