On Mon, 20 Aug 2012 13:42:03 +1200 IVP wrote: > Does your bsfing work with a real chip ? Sorry for the delay... Family presence was required... Ok. Modified the code a little (added a loop) and yes, it works on the PIC itself. Seems the simulator isn't doing so well after all. I was hoping I had done something wrong as I now have to return to the original (larger) project which doesn't work yet. John --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .