Users Manual
CLASS 2
108
Experiencing
the Brightness sensor coding
Usinig the brightness sensor with the windmill
We are going to use the brightness sensor to operate the windmill.
First, we need a way to bring ‘true’ and ‘false’ of the brightness sensor to Scratch. To do this, go to the ‘movement’
tab and drag in ‘is the sensor digital 2 pressed?’ to the script.
block shows if the value of the sensor is ‘true’ or ‘false’