On Wed, Jun 10, 1998 at 11:30:24PM -0700, Michael Park wrote: > As I prepare to try my hand at debouncing a switch input, I'm curious to > know if anyone has characterized mechanical bounce in terms of typical > frequencies and durations. If that information is not directly I can offer you one data point (i.e. I looked at one switch). It was a momentary pushbutton and the contact bounce lasted around a millisecond. The duration was relatively constant across activations. There was no dominant frequency, it was very noisy. Since then I've tended to allow 10ms or more debounce time and never had a problem with any switches but there are bound to be some that differ substantially. -- Clyde Smith-Stubbs | HI-TECH Software Email: clyde@htsoft.com | Phone Fax WWW: http://www.htsoft.com/ | USA: (408) 490 2885 (408) 490 2885 PGP: finger clyde@htsoft.com | AUS: +61 7 3354 2411 +61 7 3354 2422 --------------------------------------------------------------------------- HI-TECH C: compiling the real world.