|
upm
0.2.0
Sensor/Actuator repository for libmraa (v0.6.1)
|
C++ API for th02 temperature & humidity sensor library. More...
This file defines the TH02 C++ interface for libth02
Public Member Functions | |
| TH02 () | |
| ~TH02 () | |
| float | getTemperature () |
| float | getHumidity () |
| bool | getStatus () |
| std::string | name () |
| float getTemperature | ( | void | ) |
Get the temperature value from sensor.

| float getHumidity | ( | void | ) |
Get the humidity value from sensor.

| bool getStatus | ( | ) |
Get the sensor's status.

|
inline |
Return name of the component
1.8.9.1