Need some help with millis() and debouncing. Driving me nuts!

Debouncing in hardware is not difficult. One gate, one diode, one cap and two resistors.
The circuit I use is from an EDN article from 2002. It is very clean and
has never failed.

The schematic is in the datasheet for my prototyping board at
http://wiblocks.luciani.org/NB1/NB1A-PB1-index.html

(* jcl *)

http://www.wiblocks.com