Component: Humidity AHT10 (Environmental)
From Flowcode Help
Jump to navigationJump to searchAuthor | Matrix TSL |
Version | 1.0 |
Category | Environmental |
Contents
Humidity AHT10 component
A high precision I2C based temperature and humidity sensor.
Component Source Code
Please click here to download the component source project: FC_Comp_Source_Humidity_AHT10.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_Humidity_AHT10.fcfx
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Macro reference
Initialise
![]() |
Initialise |
Startup I2C bus and initialise the sensor. Returns 1 if the device is replying to commands. | |
![]() |
Return |
ReadHumidity
![]() |
ReadHumidity |
Gets the humidity reading from the last sample. | |
![]() |
Return |
ReadTemperature
![]() |
ReadTemperature |
Gets the temperature reading from the last sample. | |
![]() |
Return |
Sample
![]() |
Sample |
Reads the sensor and collects the latest termperature and humidity readings. Returns 1 for a successful sample. | |
![]() |
Return |