SunFounder ESP32 Starter Kit
According to Ohm’s law, the current through this circuit decreases as the resistance increases, which causes the LED
to dim.
I = (Vp-Vl)/R
To get the LEDs to light up safely and with the right brightness, how much resistance should we use in the circuit?
For 99% of 5mm LEDs, the recommended current is 20mA, as you can see from the Conditions column of its data
sheet.
5.10. LED 711