Back to Parent

Outcome


Outcome

There are three different outcomes.

First, one set of code lights up a led light based on the brightness measured by the photoresistor. As the amount of light increases, the led brightness increases.

The second outcome reverses the interaction between the photoresistor and the led light: the light increases and the led darkens.

Finally, the led light reacts to a binary input from the photoresistor. If the photoresistor depicts the light dips below a defined threshold, the led light turns on. 

Show Advanced Options
Drop files here or click to select

You can upload files of up to 20MB using this form.