Difference between revisions of "Component: Humidity (EBM016) (EBM Modules)"
From Flowcode Help
Jump to navigationJump to searchLine 76: | Line 76: | ||
{{Fcfile|EBM016 - Test Program.fcfx|EBM016 Example}} | {{Fcfile|EBM016 - Test Program.fcfx|EBM016 Example}} | ||
+ | |||
+ | |||
Line 181: | Line 183: | ||
| width="90%" style="border-top: 2px solid #000;" | ''Return'' | | width="90%" style="border-top: 2px solid #000;" | ''Return'' | ||
|} | |} | ||
− | |||
− | |||
Revision as of 12:19, 3 February 2023
Author | Matrix TSL |
Version | 2.0 |
Category | EBM Modules |
Contents
Humidity component
Humidity and temperature sensor using an SHT21 IC connected via I2C - as used by the Matrix e-block module EBM016. 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_temp/EBM016v1.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_temp/EBM016v1.fcfx
Detailed description
No detailed description exists yet for this component
Examples
This example reads the temperature and humidity levels from the sensor and displays the readings on the LCD.
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 |