Component: Light Sensor (Grove 101020132) (101020132) (Light)
From Flowcode Help
Jump to navigationJump to searchAuthor | Matrix Ltd |
Version | 1.0 |
Category | Light |
Contents
Light Sensor (Grove 101020132) component
The Light sensor module is a simple analogue photo transistor. Used to detect the intensity of the indoor light.
Component Source Code
Please click here to view the component source code (Beta): FC_Comp_Source_Light_Sensor.fcfx
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Macro reference
![]() |
GetString |
Reads the ADC as a direct voltage and returns as as tring | |
![]() |
Return |
![]() |
GetAverageByte |
Function call to read the ADC as a byte average sample over time | |
![]() |
NumSamples |
![]() |
DelayUs |
Number of micro seconds in between taking each sample | |
![]() |
Return |
![]() |
GetAverageInt |
Function call to read the ADC as a full width average sample over time | |
![]() |
NumSamples |
![]() |
DelayUs |
Number of micro seconds in between taking each sample | |
![]() |
Return |
![]() |
GetVoltage |
Reads the ADC as a direct voltage | |
![]() |
Return |
![]() |
GetInt |
Blocking call to read the ADC at full bit depth | |
![]() |
Return |
![]() |
GetByte |
Blocking call to read the ADC as a byte | |
![]() |
Return |
Property reference
==Macro reference==
![]() |
GetString |
Reads the ADC as a direct voltage and returns as as tring | |
![]() |
Return |
![]() |
GetAverageByte |
Function call to read the ADC as a byte average sample over time | |
![]() |
NumSamples |
![]() |
DelayUs |
Number of micro seconds in between taking each sample | |
![]() |
Return |
![]() |
GetAverageInt |
Function call to read the ADC as a full width average sample over time | |
![]() |
NumSamples |
![]() |
DelayUs |
Number of micro seconds in between taking each sample | |
![]() |
Return |
![]() |
GetVoltage |
Reads the ADC as a direct voltage | |
![]() |
Return |
![]() |
GetInt |
Blocking call to read the ADC at full bit depth | |
![]() |
Return |
![]() |
GetByte |
Blocking call to read the ADC as a byte | |
![]() |
Return |