Difference between revisions of "Component: Temp / Humidity (HTS221) (Environmental)"
From Flowcode Help
Jump to navigationJump to searchLine 16: | Line 16: | ||
==Detailed description== | ==Detailed description== | ||
+ | |||
+ | |||
Line 24: | Line 26: | ||
==Examples== | ==Examples== | ||
+ | |||
+ | |||
Line 69: | Line 73: | ||
|- | |- | ||
|- | |- | ||
− | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:]] - | + | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-s16-icon.png]] - INT |
| width="90%" style="border-top: 2px solid #000;" | ''Return'' | | width="90%" style="border-top: 2px solid #000;" | ''Return'' | ||
|} | |} | ||
Line 82: | Line 86: | ||
|- | |- | ||
|- | |- | ||
− | | width="10%" align="center" | [[File:]] - | + | | width="10%" align="center" | [[File:Fc9-bool-icon.png]] - BOOL |
| width="90%" | Active | | width="90%" | Active | ||
|- | |- | ||
Line 100: | Line 104: | ||
|- | |- | ||
|- | |- | ||
− | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:]] - | + | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-f32-icon.png]] - FLOAT |
| width="90%" style="border-top: 2px solid #000;" | ''Return'' | | width="90%" style="border-top: 2px solid #000;" | ''Return'' | ||
|} | |} | ||
Line 131: | Line 135: | ||
|- | |- | ||
|- | |- | ||
− | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:]] - | + | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-f32-icon.png]] - FLOAT |
| width="90%" style="border-top: 2px solid #000;" | ''Return'' | | width="90%" style="border-top: 2px solid #000;" | ''Return'' | ||
|} | |} |
Revision as of 13:30, 17 November 2021
Author | Matrix TSL |
Version | 1.0 |
Category | Environmental |
Contents
Temp / Humidity component
A temperature and relative humidity sensor allowing the ambient temperature and relative humidity to be monitored digitally. Humidity Range = 0% - 100% +/- 3.5% Temperature Range = -40 - 120 Degrees C +/- 0.5 Degrees C
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Downloadable macro reference
![]() |
ReadHumidityInt |
Samples the humidity from the sensor and returns the relative humidity reading as a integer byte from 0 to 100 | |
![]() |
Return |
![]() |
ReadTemperatureInt |
Samples the temperature from the sensor and returns the reading in degrees C as an integer from -40 to 120. | |
![]() |
Return |
![]() |
ReadHumidityReal |
Samples the humidity from the sensor and returns the relative humidity reading as a float from 0.0 to 100.0. | |
![]() |
Return |
![]() |
ReadRegister |
Reads an 8-bit value from one of the registers onboard the sensor IC. | |
![]() |
Address |
![]() |
Return |
![]() |
ReadTemperatureReal |
Samples the temperature from the sensor and returns the reading in degrees C as a float from -40.0 to 120.0. | |
![]() |
Return |
![]() |
WriteRegister |
Writes a value to a register on the sensor IC. | |
![]() |
Address |
![]() |
Data |
![]() |
Return |
![]() |
Initialise |
Configures the I2C peripheral ready for communications. | |
![]() |
Return |