var fDesc=new Array(); fDesc[0] = "Determine the color code of a resistor and calculate resistors for LED circuits.

By using this resistor calculator it is very simple to determine the color code of a resistor based on the resistor value. Of course, you can also provide a color code and the program will show you the resulting resistor value.

On the basis of the entered or calculated resistor value additionally the closest resistor within the E series as well as within the Renard numbers is displayed automatically.

As another feature the program can calculate the required resistor value for LED circuits (single LED, series connection and parallel connection) considering the supply voltage, the voltage drop across the LED(s) as well as the current of the LED(s)."; function tShowHide(id, show) { var s = document.getElementById("desc"); if ((s.innerHTML.length<=212 || show==1) && show!=2) { s.innerHTML = fDesc[id]; if (document.getElementById('m1')) document.getElementById('m1').style.display='none'; if (document.getElementById('m2')) document.getElementById('m2').style.display='none'; if (document.getElementById('more_txt')) document.getElementById('more_txt').style.display='inline'; } else { s.innerHTML = ''; } }