Bruce...
that did it! The transmitter now spits out good data.
In addition to the increase in the array size, I also had to make the following change from:
Code:
EncodedData var word [5]
To:
Code:
EncodedDataLow var Byte [5]
EncodedDataHigh var byte [5]
For some reason the splitting the manchester word into EcodedData.LowByte and EncodedData.Highbyte didn't quite work, and so I ended up creating sepatate bytes for the high and low ends of the manchester word.
Not sure why it didn't work in the first place but it doesn't matter now. I might revisit this issue at a later date.
Thank you for steering me in the right direction. This would have never crossed my mind - must be a habit from my old QBasic programming days.

Alex
Bookmarks