Nothing seems to work on this end. Tried your hex file and a single input. Nothing varies the output PW. Too strange for me. I am going to try a different approach. Use PicBasic code and dt-ints to see how far I can get that way. If I put a 20 Mhz resonator in there, that should more than compensate for the extra overhead of abandoning the assembly code.

I'll keep in touch to let you know how it's going and will probably need a bunch of help along the way too.

I really like working with the folks on this forum, always helpful.

Best,

Mike