Kris

Author's details

Name: Kris Barrett
Date registered: November 4, 2007

Latest posts

  1. How to use JavaScript setTimeout — April 14, 2011
  2. How to create a git repository — March 24, 2011
  3. How to create a MySQL database and user — June 12, 2010
  4. Audio output selector — October 22, 2009
  5. How to setup AVR projects — September 12, 2009

Most commented posts

  1. How to make your own Arduino shield — 19 comments
  2. Audio output selector — 10 comments
  3. How to build a PC (on the cheap) — 5 comments
  4. Fun with FFT — 2 comments
  5. LED coffee table — 1 comment

Author's posts listings

Apr 14

How to use JavaScript setTimeout

The setTimeout function allows you to delay the execution of code.  The setTimeout function works by specifying a string of code followed by the delay in milliseconds.  For example: setTimeout(“alert(‘timeout!’)”, 1000) The code above will display an alert box that says “timeout!” after 1 second (1000 milliseconds).  Because setTimeout uses strings of text that it …

Continue reading »