> >Anybody have a favorite debouncing scheme? I like the vertical counters scheme that Scott Dattalo describes at http://www.interstice.com/~sdattalo/technical/software/pic/debounce.html it very efficiently handles multiple switches and, as usual, Scott provides a very well written example. - Andy. ---------------------------------------------------------- Andrew David, Software Manager, Ultronics Ltd, Cheltenham. akdavid@Ultronics.co.uk http://www.ultronics.com/ ----------------------------------------------------------