Difference between revisions of "Component: Ambient Light (BH1750FVI) (Light)"
From Flowcode Help
Jump to navigationJump to searchLine 20: | Line 20: | ||
==Detailed description== | ==Detailed description== | ||
+ | |||
+ | |||
Line 36: | Line 38: | ||
==Examples== | ==Examples== | ||
+ | |||
+ | |||
Line 51: | Line 55: | ||
''<span style="color:red;">No additional examples</span>'' | ''<span style="color:red;">No additional examples</span>'' | ||
− | == | + | ==Macro reference== |
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" |
Revision as of 14:09, 20 January 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 for the component source code: FC_Comp_Source_AmbientLight_BH1750FVI.fcfx
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Macro reference
![]() |
PowerDown |
Power Down the Device | |
![]() |
Return |
![]() |
ChangeMeasurementTime |
Adjusts the measurement result to counteract influence of the optical window. | |
![]() |
Sensitvity |
Range: 31-254 / Default: 69 | |
![]() |
Return |
![]() |
ReadMeasurement |
Reads data from the Light Sensor as a 16-bit value. | |
![]() |
Return |
![]() |
ResetMeasurement |
Resets the device measurement register, Must be in the powered up state to do this. | |
![]() |
Return |
![]() |
Initialise |
Stes up the I2C bus and initialises the termperature sensor ready for use. | |
![]() |
Return |