Selecting a resistor for an LED requires knowing the appropriate parameters and entering the values. The resistance value should be determined so that the current intensity is optimal for the powered LED. Kirchhoff's second law and Ohm's law are used for this purpose. The full guide and methods can be found on the Botland Blog in the article on selecting a resistor for a diode .