> > > 2/ In a realtime environment, say spacewars, a faster > response system, > > such as vertical counters can detect the end of the > bouncing and give > > the faster response. > > > Ok, I must admit I've read the vertical counter thing, but I > just don't see the light yet. > Can you rephrase it maybe? > > Always willing to see another way. Given a switch that bounces, and there are some that don't, then the time you wait for the switch to stop bouncing sets an upper limit on how frequently the switch can be activated. Vertical counters or other advanced debounce routines work in the least possible time, providing reliable debounce while, at the same time, allowing rapid actuation of the switch. The primary application would be one where very low cost or primitive switches must be used and will be opened and closed at a rate that approaches the bounce rate of the switch. For most applications, just use a good switch if you need speed and if you don't, use a crappy switch and check it a few times a second. --- James. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist