On Apr 3, 2006, at 12:23 PM, David P Harris wrote: >> Easy method: check the buttons only each xxx ms. >> > You know this is dead simple, and I cannot think of any criticism of > it. Nobody has commented otherwise, have they? It more-or-less require that you have a timer interrupt available, along with the associated "complexity" of interrupts. I think that's unavoidable if you can't loop, but it may deter some people. BillW -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist