Difference between revisions of "Component: Temp / Humidity (SHT21) (Environmental)"
From Flowcode Help
Jump to navigationJump to searchLine 20: | Line 20: | ||
==Detailed description== | ==Detailed description== | ||
+ | |||
+ | |||
Line 36: | Line 38: | ||
==Examples== | ==Examples== | ||
+ | |||
+ | |||
Line 53: | Line 57: | ||
− | == | + | ==Macro reference== |
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" |
Revision as of 14:11, 20 January 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 for the component source code: FC_Comp_Source_Humidity_SHT21.fcfx
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
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 |