One can go to http://www.htsoft.com/ and click on "Free Software" and then on "Sample Projects." There is a file called metro.c which has the source code for a metronome which uses two pushbuttons, with the timing code, etc. Most likely cannot be used as is, but should not be hard to modify the timing part. John -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body