> >Easy method: check the buttons only each xxx ms. xxx must be > longer than the bounce time. When unknown xxx = 50 ms is a good guess. > > > You know this is dead simple, and I cannot think of any criticism of > it. Nobody has commented otherwise, have they? nope. The only drawback is that it won't work when you need realy fast response, for instance for a midi keyboard or maybe a high-end gamepad. But certainly good enough for normal use. Wouter van Ooijen -- ------------------------------------------- Van Ooijen Technische Informatica: www.voti.nl consultancy, development, PICmicro products docent Hogeschool van Utrecht: www.voti.nl/hvu -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist