On Wed, May 14, 2008 at 08:42:42AM -0500, Mark Scoville wrote: > Hi Matthew... > > Are you sure you don't really want a DCFSNZ instead of DECFSZ here in > set_tx_bit... > > bcf INTCON, T0IF ; Clear the interrupt flag > decfsz bit_count, F <---- **** maybe you intended DCFSNZ??? **** > incf state, F ; All the bits have been set, advance to the > next state. > > Looks like maybe first time through you only send 1 bit, increment the state > to 4, and bail out. Mark thanks for pointing this out. One simple change: bcf INTCON, T0IF ; Clear the interrupt flag decfsz bit_count, F goto leave_isr incf state, F ; All the bits have been set, advance to the fixes the code and it now works fine! Thank you and everyone else for looking over this for me. The PICLIST is almost like a world wide, distributed programming partner. :) Thanks and have a good day! Matt -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist