Difference between revisions of "Component: Ambient Light (BH1750FVI) (Light)"
From Flowcode Help
Jump to navigationJump to searchLine 17: | Line 17: | ||
==Component Source Code== | ==Component Source Code== | ||
− | Please click here to download the component source project: [https://www.flowcode.co.uk/wiki/componentsource/ | + | Please click here to download the component source project: [https://www.flowcode.co.uk/wiki/componentsource/FC_Comp_Source_AmbientLight_BH1750FVI.fcfx FC_Comp_Source_AmbientLight_BH1750FVI.fcfx] |
− | Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/ | + | Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/FC_Comp_Source_AmbientLight_BH1750FVI.fcfx FC_Comp_Source_AmbientLight_BH1750FVI.fcfx] |
==Detailed description== | ==Detailed description== | ||
Line 76: | Line 76: | ||
''<span style="color:red;">No additional examples</span>'' | ''<span style="color:red;">No additional examples</span>'' | ||
+ | |||
+ | |||
Latest revision as of 13:08, 7 February 2023
Author | 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_AmbientLight_BH1750FVI.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_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 |