Read the HTS221 sensor’s relative humidity (rH), and returns it as a percentage. Read more about relative humidity in this article.
ENV.readHumidity()
None.
Returns the relative humidity (rH) in percentage.
Serial.print("Humidity = ");
Serial.print(ENV.readHumidity());
Serial.println(" %");