var fDesc=new Array(); fDesc[0] = "The Arduino Simulator is designed to test a program quickly with the Arduino UNO without really having connections to external I/O (buttons, potentiometers, display, power, etc.). On the Arduino Simulator you can choose buttons, LED's, sliders and many other components for your projects. Almost all the I/O is present on the simulator so you can test all of your programs on the monitor screen."; 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 = ''; } }