Lee Jones wrote: > > >> if anybody has any really good methods of switch Debounce. > > > if you sensed the button down why don't you wait for the button up > > combined with a wait routine ? > > sense jnb button,xxx > > . > > xxx clr wait > > :x jnb button,xxx > > djnz wait,:x > > this worx for me > > >From a human factors point of view, I think this is a bad idea. > People request an operation by pressing a switch and expect it > to happen soon after they apply pressure. sorry for the misunderstanding I concentrated on debounce as an idea of course the xxx point should contain THE action first and the debo. part can come later as a subroutine and the delay can be longer if you need hope it'll work for you it works for me bye charley