Users Manual

CLASS 2
106
Experiencing the Brightness
sensor coding
Using the brightness sensor
Now, let’s see how Scratch shows the information that the sensor gives.
Cover and uncover the connected sensor.
If digital 2 is true, it means the light is shining through. If it is false, it means it’s
dark with no light shining through.
If the brightness sensor
is still, ‘Digital2’ will
show ‘true’
If the sensor was
covered, ‘digital 2’ will
show ‘false’.