Component: Temp / Humidity (SHT41 / BL0144) (Environmental)
From Flowcode Help
(Redirected from Component: ID cc6a9919 31de 480e 91c9 2a59254a5bbd)
Jump to navigationJump to search| Author | Matrix TSL |
| Version | 1.0 |
| Category | Environmental |
Contents
Temp / Humidity (SHT41 / BL0144) component
Humidity and temperature sensor using an SHT41 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.
Detailed description
No detailed description exists yet for this component
Examples
An example displaying real temperatures and humidity using floats,
Grove 101020212 (SHT31) Example
Macro reference
ChangePrecision
GetHumidityInt
| GetHumidityInt | |
| returns the relative Humidity reading as an integer value | |
| Return | |
GetHumidityReal
| GetHumidityReal | |
| returns the Humidity reading as a float 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
SetTemperatureScale
| SetTemperatureScale | |
| Sets the temperature scale to celcius or farenheit Default: Celcius | |
| Scale | |
| 0=Celcius, 1=Farenheit | |
| Return | |
Property reference
Component Source Code
Please click here to download the component source project: FC_Comp_Source_Humidity_SHT41.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_Humidity_SHT41.fcfx