hoss karoly wrote: > 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 Hoss: Maybe, but it only gives about 1 millisecond of debounce. Not usually adequate, especially with poor-wuality switches. -Andy Andrew Warren - fastfwd@ix.netcom.com Fast Forward Engineering, Vista, California http://www.geocities.com/SiliconValley/2499