ive figured out the encoded part but i cant get the decoded part into my head:


outbyte.0[i] = ~inword.0[i<<1]


if the counter is at 0, it should put the first bit of the encoded data inversed into the decoded data var. but because of the <<1 it puts the second bit inversed into the first decoded var.




thanks.