Users Manual

CLASS 2
114
Do you remember how we activated LED sensor using the button sensor?
It’s easy if you think about it as if we were using the brightness sensor instead of the button sensor.
Also, keep in mind that the digital values of the button sensor and brightness sensor are opposite. If you are trying
to turn on the LED using the brightness sensor, you should make a script that looks like the one below.
Experiencing
the Brightness sensor coding
Turning on the streetlight using the brightness sensor