Paul Phillips wrote: > what is debouncing (can you give a little example) Debouncing is the art of reading a mechanical switch :). When you press a switch the contacts may tend to bounce and the may not be shorted continuously. Little glitches can appear on the input. This can also happen when releasing (turning off). Check out: http://www.interstice.com/~sdattalo/technical/software/pic/debounce.html Scott gives a technical explanation and some code on debouncing. regards, Reggie