Question d’entretien chez Lutron Electronics

Describe how to debounce a button in software.