#ifndef weather_iaq2_h #define weather_iaq2_h class IndexOfAirQuality { public: // the original data types; // float bme.temperature; // in C // float bme.humidity; // in % RH (relative humidity) // float bme.readAltitude(); // in meters // uint32_t bme.pressure; // in Pa not hPa // uint32_t bme.gas_resistance; // in Ohm not kOhm float m_temperature; float m_humidity; float m_altitude; float m_pressure; float m_gas_resistance; float m_co2_equiv; // in ppm (parts per million) float m_iaq_score; String m_iaq_text; void setup(bool display_iaq); bool perform_reading(void); int advanced_read(void); }; #endif // eee eof