In this activity, you are going to practice with the photoresistor, Senso, and to see what kind of
application you can do with it.
So your challenge is to do two things with LED's.
OK, so first, so you can read the value.
So read.
For two reasons to the OK.
And then you will define a threshold.
OK, so depending on your hardware or just choose any threshold you want, and if the value is below
that threshold.
Then you are going to go on and on in TWIC, and if the value is greater than this threshold, which
means that there is enough light, you power of the.
So you only power on the energy when this is getting to dark.
So with this you will have an automatic light system.
OK, and then you are going to also put on the energy on 10, but this time using the analog.
Right.
OK, unspin and so on.
Lipping 10.
OK, which will be proportional to the luminosity, but actually inversely proportional.
So when the photoresistor will go from zero to one thousand twenty three for the energy and then you
will go from two hundred fifty five to zero.
So you will need to divide the result by four before.
But you will also need to reverse the value so that when it's dark, the brightness is higher and when
there is a lot of light, the energy brightness is lower.
So as you can see, two different ways of creating an automatic light system and then we see you in
the next to listen for the solution.