X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com X-Virus-Scanned: amavisd-new at oregonstate.edu Date: Sat, 10 Aug 2013 14:41:12 -0700 From: Traylor Roger To: geda-user AT delorie DOT com Subject: [geda-user] debouncing pushbuttons; was T flip-flop Message-ID: <20130810214112.GA25570@nome00.eecs.oregonstate.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-12-10) Reply-To: geda-user AT delorie DOT com Al, Maybe this would be helpful. www.ece.orst.edu/~traylor/ece473/lectures/debounce.pdf Its a slide set on debouncing pushbuttons that I use in my microcontroller class. The target uC family is Atmel, but the code is applicable to about any uC. There are easy ways to extend most of the examples to multiple switches with little added effort. Cheers, Roger Traylor