On Sat, Aug 30, 2008 at 08:10:09PM +0200, Harry H. Arends wrote: > Hi Matthew, > > Your spot on, after the changes from Jim it still ditnt work. > I created some extra code in the main loop like this: > > bsf OUTPUT, 2 > Loop: > movf OUTPUT,w > andlw 0x0F > movwf PORTA > goto Loop > > And that dit the trick. Thanks now i have to get the timing right. Good! I'm glad that helped. Matthew -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist