Presently the code is triggered through a porta change interrupt, with a 30ms delay for debounce before it gets to this piece. I have been thinking about changing it however... Regards, Bob llile@SALTONUSA.COM wrote .. > One thing that can improve this code is debouncing/repeat control. > -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body