Purpose of resistor connected to the led?


I was wondering what was the function of the resistor connected to the LEDs, assuming it's not related to the light sensor setup, right?

randofo6 months ago

The LED offers no resistance, and if you were to connect it without the resistor, you would burn out the LED. It doesn't have to do with the light sensor because that sensor is a resistor. You can learn all about diodes here: