David VanHorn wrote: >> I searched everywhere I could thing of and did not find John's code >> or yours :-( Could you post some reference to it or repost the code ? It is >> a very interesting technique and I would love to see how you approached the >> "clock recovery".. I use bit-bang a lot for serial comms but never thought >> about using a bit buffer to make a better decision about the timing... >> > > I'd be interested too. I've used a single pin with my "pong" routine > (Ping just blips a bit N times) to output multiple bytes in > wide-narrow form, such that for any combination of timings, the byte > is the same length. Helps enormously when you're capturing say 50 > bytes of data on the scope. > Are you guys talking to me? I have the PIC code as well as the DOS PC receiver app for Manchester- like coding, which is not sensitive to timing errors. While I usually send my code at 4mS per bit, it will work at 50mS/bit or at 1mS/bit just as well. Let me know. --Bob Axtell -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist