A simple circuit for debouncing a push-button, taken from the great explanation here. The 4093 quad-NAND gate chip is used for its Schmitt trigger, which keeps the logic level steady and well-defined. In this circuit it inverts its input so that its output is high while the button is pressed, and is suitable for feeding into other CMOS chips.