Text this: Digital circuit for switch contact bounce analysis