Component: Ambient Light (BH1750FVI) (Light)
From Flowcode Help
Jump to navigationJump to searchAuthor | Matrix TSL |
Version | 1.0 |
Category | Light |
Contents
Ambient Light component
A small PCB surface mount ambient light sensor with a I2C bus interface. Spectral responsibility is approximately human eye response. Wide range and High resolution. ( 1 - 65535 lx )
Component Source Code
Please click here to download the component source project: FC_Comp_Source_temp/AmbientLight_BH1750FVI.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_temp/AmbientLight_BH1750FVI.fcfx
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Macro reference
ChangeMeasurementTime
![]() |
ChangeMeasurementTime |
Adjusts the measurement result to counteract influence of the optical window. | |
![]() |
Sensitvity |
Range: 31-254 / Default: 69 | |
![]() |
Return |
ContinuousMeasurement
Initialise
![]() |
Initialise |
Stes up the I2C bus and initialises the termperature sensor ready for use. | |
![]() |
Return |
OneTimeMeasurement
PowerDown
![]() |
PowerDown |
Power Down the Device | |
![]() |
Return |
ReadMeasurement
![]() |
ReadMeasurement |
Reads data from the Light Sensor as a 16-bit value. | |
![]() |
Return |
ResetMeasurement
![]() |
ResetMeasurement |
Resets the device measurement register, Must be in the powered up state to do this. | |
![]() |
Return |