Hi, I need some help to understand how is this working.
My question is : why is the LED lighting up as it gets dark ? I taught that a LDR (light dependent resistor) is supposed to let current pass only when light is shining on it (source), so why here is it letting current pass only when it's dark. And what is the role of the transistor in this circuit ? Any clarification is much appreciated, Thank you.