TH02 Class
- ID: th02
- Name: Temperature and Humidity Sensor Pro
- Other Names: Grove Temperature & Humidity Sensor (High-Accuracy & Mini)
- Category: temp
- Manufacturer: seeed
- Link: http://www.seeedstudio.com/wiki/Grove_-Tempture%26Humidity_Sensor(High-Accuracy_%26Mini)_v1.0
- Connection: i2c
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.
Item Index
Methods
Methods
TH02
(
Number
-
bus
-
addr
Instantiates a TH02 object
Parameters:
-
bus
Numberundefined
-
addr
Numberundefined
Returns:
Number:
getTemperature
()
Number
Gets the temperature value from the sensor.
Returns:
Number:
getHumidity
()
Number
Gets the humidity value from the sensor.
Returns:
Number:
getStatus
()
Boolean
Gets the sensor status.
Returns:
Boolean:
name
()
String
Returns the name of the component
Returns:
String: