9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
Light sensor
1. Light Sensor
Facts: LDR is a type of light sensor which is
widely used to sense the amount of light.
8
2. Creating loop and Condition
9
⊹ The forever Block
repeat the code
continuously
forever.
⊹ We are also adding
a If condition and a
comparator to the if
statement, We’ll
giver or compare
our input values
here.
3. Inputs and working codes
10
⊹ Add a light level block.
⊹ The highest value we
get from the light sensor
is 225.
⊹ The light sensor is
present on the Top Left
where the number is
displayed.
👉
4. Adding outputs
11
⊹ For the comparator
sign value, calibrate
and set the value
according to your
surroundings.
⊹ Output – I’m adding a
simple show icon
feature you can control
different things and
make projects out of
this code itself.