upm
0.1.8
Sensor/Actuator repository for libmraa (v0.4.5)
|
C++ API for TH02 chip (Temperature and Humidity Sensor Pro) 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 | ( | ) |
Get the temperature value from sensor.
float getHumidity | ( | ) |
Get the humidity value from sensor.
bool getStatus | ( | ) |
Get the sensor's status.
|
inline |
Return name of the component