Ralph Riggs

developing switch bounce delay

Discussion created by Ralph Riggs on Jun 30, 2006
Latest reply on Jul 5, 2006 by ROB LUND
There seems to be 2 ways to handle switch debounce when you want to read into a port.  One is to develop a delay loop the second is to utilize a timer.  the delay loop is fairly easy.. how do I initialize a timer to be randomly called only when I want to debounce the switch? I am utilizing a 9sc08gt16 processor.