Software Archive
Read-only legacy content
Announcements
FPGA community forums and blogs have moved to the Altera Community. Existing Intel Community members can sign in with their current credentials.
17060 Discussions

create Timer

zeroman_z_
Beginner
479 Views

how can i create Timer on variable x 

 

0 Kudos
2 Replies
Ad
New Contributor III
479 Views

Window setTimeout() Method

e.g.setTimeout(function(){ alert("Hello World"); }, 3000);

Definition and Usage
The setTimeout() method calls a function or evaluates an expression after a specified number of milliseconds.

Tip: 1000 ms = 1 second.
Tip: The function is only executed once. If you need to repeat execution, use the setInterval() method.
Tip: Use the clearTimeout() method to prevent the function from running.

source: http://www.w3schools.com/jsref/met_win_settimeout.asp

0 Kudos
zeroman_z_
Beginner
479 Views

thanks

but how can view variable on text to view counter PLZ >>>

0 Kudos
Reply