Difference between revisions of "Component: Temp / Humidity (SHT21) (Environmental)"
From Flowcode Help
Jump to navigationJump to searchLine 14: | Line 14: | ||
==Temp / Humidity component== | ==Temp / Humidity component== | ||
Humidity and temperature sensor using an SHT21 IC connected via I2C. On screen GUI allows temperature and humidity values to be simulated, and will show all I2C communication in a console window. | Humidity and temperature sensor using an SHT21 IC connected via I2C. On screen GUI allows temperature and humidity values to be simulated, and will show all I2C communication in a console window. | ||
+ | |||
+ | ==Component Pack== | ||
+ | |||
+ | SENSORS | ||
==Detailed description== | ==Detailed description== | ||
+ | |||
+ | |||
Line 26: | Line 32: | ||
==Examples== | ==Examples== | ||
+ | |||
+ | |||
Revision as of 16:23, 7 January 2022
Author | Matrix TSL |
Version | 2.0 |
Category | Environmental |
Contents
Temp / Humidity component
Humidity and temperature sensor using an SHT21 IC connected via I2C. On screen GUI allows temperature and humidity values to be simulated, and will show all I2C communication in a console window.
Component Pack
SENSORS
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Downloadable macro reference
![]() |
GetTemperatureReal |
Return temperature reading as a float value in degrees C | |
![]() |
Return |
![]() |
GetTemperatureData |
Returns the raw register pair value | |
![]() |
Return |
![]() |
GetTemperatureInt |
Return temperature reading as an integer value in degrees C | |
![]() |
Return |
![]() |
GetHumidityInt |
returns the relative Humidity reading as an integer value | |
![]() |
Return |
![]() |
GetHumidityReal |
returns the Humidity reading as a float value | |
![]() |
Return |
![]() |
GetHumidityData |
Returns the raw register pair value | |
![]() |
Return |
![]() |
Initialise |
Initialises the component ready for I2C communications | |
![]() |
Return |