Calculates the value of a resistor R to power an LED. Data entered are the voltage V of the power supply you intend to use (for example, 12 V), the forward voltage Vf of the LED (for example, 3.3 V), and the forward current If of the LED (for example, 0.02 A or 20 mA). In this case, the program will return RC5 ohms. The next commercial value is 470 ohms. |