I've made it my quest to create OOP classes for Arduino. Read about that in this blogpost if you need some more context.
This class is for controlling the DHT11 Digital Temperature Humidity Sensor Module. Of course you can simply read the temperature and humidity with this class, but you can also create event methods that will be called when the temperature values or the humidity values are equal to, higher than, lower than, between or not between the specified values.
See the demo program how setup the sensor to work with multiple event methods.
The humidity/temperature sensor library can be found here on GitHub.
It is dependent on: