This circuits divides the voltage depending on the resitor's value. If they are both equal, the voltage is divided in two halfs, 1/2 and 1/2. If one resistor has a value of (1/3)R and (2/3)R, the whole voltage gets divided in 1/3 and 2/3.

This circuits divides the voltage depending on the resitor's value. If they are both equal, the voltage is divided in two halfs, 1/2 and 1/2. If one resistor has a value of (1/3)R and (2/3)R, the whole voltage gets divided in 1/3 and 2/3.

----

So, if we put a photoresistor in place of the first resitor, its **varying** resitance will lead to a **varying** voltage.

So, if we put a photoresistor in place of the first resitor, its **varying** resitance will lead to a **varying** voltage.

We just need to read the voltage value after the photoresistor.

...

...

@@ -67,4 +67,4 @@ The next step is trying building it on the **breadboard**

The photoresistor and the resistance will be connected in series, between pin **3v3** and **GND**. We will read the voltage between the resistors using the pin **D35**

\ No newline at end of file

The photoresistor and the resistance will be connected in series, between pin **3.3V** and **GND**. We will read the voltage between the resistors using the pin **D35**