Difference between revisions of "Component: Temp / Humidity (SHT21) (Environmental)"
From Flowcode Help
Jump to navigationJump to searchLine 17: | Line 17: | ||
==Component Source Code== | ==Component Source Code== | ||
− | Please click here to download the component source project: [https://www.flowcode.co.uk/wiki/componentsource/ | + | Please click here to download the component source project: [https://www.flowcode.co.uk/wiki/componentsource/FC_Comp_Source_Humidity_SHT21.fcfx FC_Comp_Source_Humidity_SHT21.fcfx] |
− | Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/ | + | Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/FC_Comp_Source_Humidity_SHT21.fcfx FC_Comp_Source_Humidity_SHT21.fcfx] |
==Detailed description== | ==Detailed description== | ||
Line 73: | Line 73: | ||
''<span style="color:red;">No additional examples</span>'' | ''<span style="color:red;">No additional examples</span>'' | ||
+ | |||
+ | |||
Revision as of 13:10, 7 February 2023
Author | Matrix TSL |
Version | 2.0 |
Category | Environmental |
Contents
Temp / Humidity (SHT21) 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 Source Code
Please click here to download the component source project: FC_Comp_Source_Humidity_SHT21.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_Humidity_SHT21.fcfx
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Macro reference
GetHumidityData
![]() |
GetHumidityData |
Returns the raw register pair value | |
![]() |
Return |
GetHumidityInt
![]() |
GetHumidityInt |
returns the relative Humidity reading as an integer value | |
![]() |
Return |
GetHumidityReal
![]() |
GetHumidityReal |
returns the Humidity reading as a float value | |
![]() |
Return |
GetTemperatureData
![]() |
GetTemperatureData |
Returns the raw register pair value | |
![]() |
Return |
GetTemperatureInt
![]() |
GetTemperatureInt |
Return temperature reading as an integer value in degrees C | |
![]() |
Return |
GetTemperatureReal
![]() |
GetTemperatureReal |
Return temperature reading as a float value in degrees C | |
![]() |
Return |
Initialise
![]() |
Initialise |
Initialises the component ready for I2C communications | |
![]() |
Return |