how to cure Switch Bounce? is it a good idea to read the key more than once?
You can do it analogly with a cap and a resistor or you can do it in software by reading the input a few times - it depends on the application.
You can also use cross-coupled NAND gates to debounce a switch, if the switch has two throws per pole.
Separate names with a comma.