Reply To: Timing units

PennController for IBEX Forums Support Timing units Reply To: Timing units


Hi Larissa,

You can only pass up to two arguments to newTimer: a string to name the element, and a number representing the duration. If you pass a third argument, it will simply be ignored

You can do newTimer("timer-D1", 1000+Math.round(1600*Math.random())) if you want to get a random number between 1000 and 2600