So, I have a temperature sensor that reports in Manchester code. I need to decode it. Looking through the various examples on here leaves me confused about how to tackle this. Most of the code examples do bit conditioning/math to decode with no reliance on timing, but they all appear to rely on the assumption they're also providing the encoding process.

eg. http://www.picbasic.co.uk/forum/showthread.php?t=198


There's one example that decodes a 'foreign' device but that notably relies on timing as a central part of the process.

eg. http://www.picbasic.co.uk/forum/showthread.php?t=10768

I was under the impression that to successfully decode my device, I also need to rely on timing as there are short and long pulses of data?

Thanks,

Troy