|
upm
0.4.1
Sensor/Actuator repository for libmraa (v0.8.0)
|
API for the TH02 Temperature & Humidity Sensor. More...
This module defines the TH02 interface for libth02
Note: For use on Intel(R) Edison with an Arduino* breakout board, Intel Edison must be set to 3 V rather than 5 V.
Public Member Functions | |
| synchronized void | delete () |
| TH02 (int bus, short addr) | |
| TH02 (int bus) | |
| float | getTemperature () |
| float | getHumidity () |
| boolean | getStatus () |
| String | name () |
| float getHumidity | ( | ) |
Gets the humidity value from the sensor.
| boolean getStatus | ( | ) |
Gets the sensor status.
| float getTemperature | ( | ) |
Gets the temperature value from the sensor.
| String name | ( | ) |
Returns the name of the component
1.8.9.1