Component: Humidity (EBM016) (EBM Modules)
From Flowcode Help
(Redirected from Component: ID 5cb8f1ac bab2 4740 9a9d 01602a5fb196)
Jump to navigationJump to searchAuthor | 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_EBM016v1.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_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 | |
- UINT | Return |
GetHumidityInt
GetHumidityInt | |
returns the relative Humidity reading as an integer value | |
- INT | Return |
GetHumidityReal
GetHumidityReal | |
returns the Humidity reading as a float value | |
- FLOAT | Return |
GetTemperatureData
GetTemperatureData | |
Returns the raw register pair value | |
- UINT | Return |
GetTemperatureInt
GetTemperatureInt | |
Return temperature reading as an integer value in degrees C | |
- INT | Return |
GetTemperatureReal
GetTemperatureReal | |
Return temperature reading as a float value in degrees C | |
- FLOAT | Return |
Initialise
Initialise | |
Initialises the component ready for I2C communications | |
- VOID | Return |